Package play.mvc
Class Scope.Session
java.lang.Object
play.mvc.Scope.Session
- Enclosing class:
- Scope
Session scope
-
Field Details
-
TS_KEY
- See Also:
-
-
Constructor Details
-
Session
public Session() -
Session
-
-
Method Details
-
getId
-
all
-
getAuthenticityToken
-
put
-
put
-
get
-
remove
-
remove
-
clear
public void clear() -
isEmpty
public boolean isEmpty()Returns true if the session is empty, e.g. does not contain anything else than the timestamp- Returns:
- true if the session is empty, otherwise false
-
contains
-
getUserAgent
-
setUserAgent
-
toString
-