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
Sets the global application instance.
Sets the global application instance.
If another app was previously started using this API and the global application is enabled, Play.stop will be called on the existing application.
the application to start
Stops the given application.
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
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
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.