play.mvc
Class Results.AsyncResult

java.lang.Object
  extended by play.mvc.Results.AsyncResult
All Implemented Interfaces:
Result
Enclosing class:
Results

Deprecated. return Promise<Result> from your actions instead.

@Deprecated
public static class Results.AsyncResult
extends java.lang.Object
implements Result

An asynchronous result.


Constructor Summary
Results.AsyncResult(F.Promise<SimpleResult> promise)
          Deprecated.  
 
Method Summary
 F.Promise<SimpleResult> getPromise()
          Deprecated.  
 scala.concurrent.Future<play.api.mvc.SimpleResult> getWrappedResult()
          Deprecated. Retrieves the real (Scala-based) result.
 Results.AsyncResult transform(F.Function<SimpleResult,SimpleResult> f)
          Deprecated. Transform this asynchronous result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Results.AsyncResult

public Results.AsyncResult(F.Promise<SimpleResult> promise)
Deprecated. 
Method Detail

transform

public Results.AsyncResult transform(F.Function<SimpleResult,SimpleResult> f)
Deprecated. 
Transform this asynchronous result

Parameters:
f - The transformation function
Returns:
The transformed AsyncResult

getWrappedResult

public scala.concurrent.Future<play.api.mvc.SimpleResult> getWrappedResult()
Deprecated. 
Description copied from interface: Result
Retrieves the real (Scala-based) result.

Specified by:
getWrappedResult in interface Result

getPromise

public F.Promise<SimpleResult> getPromise()
Deprecated.