Play
High-level API to access Play global features.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Play.type
Members list
Value members
Concrete methods
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.
Value parameters
- app
-
the application to start
Attributes
Stops the given application.
Stops the given application.
Attributes
Deprecated methods
Returns whether the language cookie should have the HTTP only flag set.
Returns whether the language cookie should have the HTTP only flag set.
Attributes
- Deprecated
- true
Returns the name of the cookie that can be used to permanently set the user's language.
Returns the name of the cookie that can be used to permanently set the user's language.
Attributes
- Deprecated
- true
Returns whether the language cookie should have the secure flag set.
Returns whether the language cookie should have the secure flag set.
Attributes
- Deprecated
- true
Implicits
Implicits
A convenient function for getting an implicit materializer from the current application
A convenient function for getting an implicit materializer from the current application