Package play.server
Class ApplicationProvider
java.lang.Object
play.server.ApplicationProvider
Provides information about a Play Application running inside a Play server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionplay.core.ApplicationProviderasScala()get()handleWebCommand(Http.RequestHeader requestHeader) Deprecated.Deprecated as of 2.7.0.
-
Constructor Details
-
ApplicationProvider
-
-
Method Details
-
asScala
public play.core.ApplicationProvider asScala()- Returns:
- The Scala version of this application provider.
-
get
- Returns:
- Returns an Optional with the application, if available.
-
handleWebCommand
Deprecated.Deprecated as of 2.7.0. WebCommands are now handled by the DefaultHttpRequestHandler.Handle a request directly, without using the application.- Parameters:
requestHeader- the request made.
-