Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/core/j/JavaAction.html below:
JavaAction - play.core.j.JavaAction
final def !=(arg0: Any): Boolean
final def ##(): Int
final def ==(arg0: Any): Boolean
def andThen[A](g: (Accumulator[ByteString, Result]) â A): (RequestHeader) â A
def apply(req: Request[RequestBody]): Future[Result]
Invokes this action.
def apply(): Action[RequestBody]
Returns itself, for better support in the routes file.
def apply(rh: RequestHeader): Accumulator[ByteString, Result]
final def asInstanceOf[T0]: T0
def asJava: EssentialAction
def clone(): AnyRef
def compose[A](g: (A) â RequestHeader): (A) â Accumulator[ByteString, Result]
def cookiesToJavaCookies(cookies: Cookies): Cookies
def cookiesToScalaCookies(cookies: Iterable[Cookie]): Seq[Cookie]
def createJavaContext(req: Request[RequestBody]): Context
Creates a java context from a scala Request[RequestBody]
def createJavaContext(req: RequestHeader): Context
Creates a java context from a scala RequestHeader
def createResult(javaContext: Context, javaResult: Result): Result
Creates a scala result from java context and result objects
final def eq(arg0: AnyRef): Boolean
def equals(arg0: Any): Boolean
def executionContext: ExecutionContext
The execution context to run this action in
def finalize(): Unit
final def getClass(): Class[_]
def hashCode(): Int
def invokeWithContext(request: RequestHeader, f: (Request) â CompletionStage[Result]): Future[Result]
Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.
def invokeWithContextOpt(request: RequestHeader, f: (Request) â CompletionStage[Result]): Option[Future[Result]]
Invoke the given function with the right context set, converting the scala request to a Java request, and converting the resulting Java result to a Scala result, before returning it.
final def isInstanceOf[T0]: Boolean
final def ne(arg0: AnyRef): Boolean
final def notify(): Unit
final def notifyAll(): Unit
final def synchronized[T0](arg0: â T0): T0
def toString(): String
final def wait(): Unit
final def wait(arg0: Long, arg1: Int): Unit
final def wait(arg0: Long): Unit
def withContext[A](request: RequestHeader)(block: (Context) â A): A
Invoke the given block with Java context created from the request header
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4