public class ApplicationProvider
extends java.lang.Object
Constructor and Description |
---|
ApplicationProvider(Application application) |
Modifier and Type | Method and Description |
---|---|
play.core.ApplicationProvider |
asScala() |
java.util.Optional<Application> |
get() |
Application |
getApplication()
Deprecated.
Deprecated as of 2.6.0. Use
get() instead. |
java.util.Optional<Result> |
handleWebCommand(Http.RequestHeader requestHeader)
Handle a request directly, without using the application.
|
public ApplicationProvider(Application application)
public play.core.ApplicationProvider asScala()
@Deprecated public Application getApplication()
get()
instead.public java.util.Optional<Application> get()
public java.util.Optional<Result> handleWebCommand(Http.RequestHeader requestHeader)
requestHeader
- the request made.