Constructor and Description |
---|
Results.AsyncResult(F.Promise<SimpleResult> promise)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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
|
public Results.AsyncResult(F.Promise<SimpleResult> promise)
public Results.AsyncResult transform(F.Function<SimpleResult,SimpleResult> f)
f
- The transformation functionpublic scala.concurrent.Future<play.api.mvc.SimpleResult> getWrappedResult()
Result
getWrappedResult
in interface Result
public F.Promise<SimpleResult> getPromise()