play.mvc
Class Scope.Session

java.lang.Object
  extended by play.mvc.Scope.Session
Enclosing class:
Scope

public static class Scope.Session
extends java.lang.Object

Session scope


Field Summary
static java.lang.ThreadLocal<Scope.Session> current
           
 
Constructor Summary
Scope.Session()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> all()
           
 void clear()
           
 boolean contains(java.lang.String key)
           
static Scope.Session current()
           
 java.lang.String get(java.lang.String key)
           
 java.lang.String getAuthenticityToken()
           
 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
 

Field Detail

current

public static java.lang.ThreadLocal<Scope.Session> current
Constructor Detail

Scope.Session

public Scope.Session()
Method Detail

current

public static Scope.Session current()

getId

public java.lang.String getId()

all

public java.util.Map<java.lang.String,java.lang.String> all()

getAuthenticityToken

public java.lang.String getAuthenticityToken()

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