object Play
High-level API to access Play global features.
- Alphabetic
- By Inheritance
- Play
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def materializer(implicit app: Application): Materializer
A convenient function for getting an implicit materializer from the current application
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def start(app: Application): Unit
Starts the application instance.
Starts the application instance.
- app
the application to start
- def stop(app: Application): Unit
Stops the given application.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def langCookieHttpOnly(implicit messagesApi: MessagesApi): Boolean
Returns whether the language cookie should have the HTTP only flag set.
Returns whether the language cookie should have the HTTP only flag set.
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) Use the MessagesApi itself
- def langCookieName(implicit messagesApi: MessagesApi): String
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.
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) Use the MessagesApi itself
- def langCookieSecure(implicit messagesApi: MessagesApi): Boolean
Returns whether the language cookie should have the secure flag set.
Returns whether the language cookie should have the secure flag set.
- Annotations
- @deprecated
- Deprecated
(Since version 2.7.0) Use the MessagesApi itself