|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session<T>
The Session
object is a simple leased container for
state within a web application. This is essentially a map of key
value pairs leased on a fixed duration to ensure it remains active
between we requests. If the session remains idle for sufficiently
long then it is disposed of by the SessionProvider
so that resources occupied can be released.
Lease
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
Lease<T> |
getLease()
This is used to acquire the Lease object to control
the session. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
Lease<T> getLease()
Lease
object to control
the session. The lease is responsible for maintaining this map
within the application. Once the lease expires the session will
be removed and its mapped values will be available for recovery.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |