Returns whether the language cookie should have the HTTP only flag set.
Returns the name of the cookie that can be used to permanently set the user's language.
Returns whether the language cookie should have the secure flag set.
A convenient function for getting an implicit materializer from the current application
Starts this application.
Starts this application.
the application to start
Stops the given application.
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
Implicitly import the current running application in the context.
Implicitly import the current running application in the context.
Note that by relying on this, your code will only work properly in the context of a running application.
(Since version 2.5.0) This is a static reference to application, use DI instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
Optionally returns the current running application.
Optionally returns the current running application.
(Since version 2.5.0) This is a static reference to application, use DI instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
(Since version 2.5.0) inject the play.api.Environment instead
Returns the currently running application, or null
if not defined.
Returns the currently running application, or null
if not defined.
(Since version 2.5.0) This is a static reference to application, use DI
High-level API to access Play global features.
Note that this API depends on a running application. You can import the currently running application in a scope using:
import play.api.Play.current