creates a java context from a scala Request[RequestBody]
creates a java context from a scala Request[RequestBody]
creates a java context from a scala RequestHeader
creates a java context from a scala RequestHeader
creates a java request (with an empty body) from a scala RequestHeader
creates a java request (with an empty body) from a scala RequestHeader
creates a scala result from java context and result objects
creates a scala result from java context and result objects
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.
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.
This is intended for use by methods in the JavaGlobalSettingsAdapter, which need to be handled like Java actions, but are not Java actions.
The request
The function to invoke
The result
Creates a partial function from a Java function
Creates a partial function from a Java function