play
Class Play

java.lang.Object
  extended by play.Play

public class Play
extends java.lang.Object

High-level API to access Play global features.


Constructor Summary
Play()
           
 
Method Summary
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 java.lang.String langCookieName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Play

public Play()
Method Detail

application

public static Application application()
Returns the currently running application.


isDev

public static boolean isDev()
Returns `true` if the current application is `DEV` mode.


isProd

public static boolean isProd()
Returns `true` if the current application is `PROD` mode.


isTest

public static boolean isTest()
Returns `true` if the current application is `TEST` mode.


langCookieName

public static java.lang.String langCookieName()