play.mvc
Class Scope.Session
java.lang.Object
play.mvc.Scope.Session
- Enclosing class:
- Scope
public static class Scope.Session
- extends java.lang.Object
Session scope
Method Summary |
void |
clear()
|
boolean |
contains(java.lang.String key)
|
static Scope.Session |
current()
|
java.lang.String |
get(java.lang.String key)
|
java.lang.String |
getId()
|
void |
put(java.lang.String key,
java.lang.Object value)
|
void |
put(java.lang.String key,
java.lang.String value)
|
void |
remove(java.lang.String... keys)
|
boolean |
remove(java.lang.String key)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
current
public static java.lang.ThreadLocal<Scope.Session> current
Scope.Session
public Scope.Session()
current
public static Scope.Session current()
getId
public java.lang.String getId()
put
public void put(java.lang.String key,
java.lang.String value)
put
public void put(java.lang.String key,
java.lang.Object value)
get
public java.lang.String get(java.lang.String key)
remove
public boolean remove(java.lang.String key)
remove
public void remove(java.lang.String... keys)
clear
public void clear()
contains
public boolean contains(java.lang.String key)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly