public class Play
extends java.lang.Object
Constructor and Description |
---|
Play() |
Modifier and Type | Method and Description |
---|---|
static Application |
application()
Returns the currently running application.
|
static boolean |
isDev()
Returns `true` if the current application is `DEV` mode.
|
static boolean |
isProd()
Returns `true` if the current application is `PROD` mode.
|
static boolean |
isTest()
Returns `true` if the current application is `TEST` mode.
|
static boolean |
langCookieHttpOnly() |
static java.lang.String |
langCookieName() |
static boolean |
langCookieSecure() |
static Mode |
mode()
Returns the current mode of the application.
|
public static Application application()
public static Mode mode()
public static boolean isDev()
public static boolean isProd()
public static boolean isTest()
public static java.lang.String langCookieName()
public static boolean langCookieSecure()
public static boolean langCookieHttpOnly()