net.sf.gilead.core.store.stateful
Class HttpSessionProxyStore
java.lang.Object
net.sf.gilead.core.store.stateful.AbstractStatefulProxyStore
net.sf.gilead.core.store.stateful.HttpSessionProxyStore
- All Implemented Interfaces:
- IProxyStore
public class HttpSessionProxyStore
- extends AbstractStatefulProxyStore
Proxy store for stateful web application
- Author:
- bruno.marchesson
Method Summary |
protected void |
delete(java.lang.String key)
Delete the key from the underlying storage |
protected java.util.Map<java.lang.String,java.io.Serializable> |
get(java.lang.String key)
Get the proxy informations associated with the key |
static void |
setHttpSession(HttpSession session)
Store the current HTTP session in the thread local |
protected void |
store(java.lang.String key,
java.util.Map<java.lang.String,java.io.Serializable> proxyInformation)
Store the value in the map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpSessionProxyStore
public HttpSessionProxyStore()
setHttpSession
public static void setHttpSession(HttpSession session)
- Store the current HTTP session in the thread local
delete
protected void delete(java.lang.String key)
- Description copied from class:
AbstractStatefulProxyStore
- Delete the key from the underlying storage
- Specified by:
delete
in class AbstractStatefulProxyStore
get
protected java.util.Map<java.lang.String,java.io.Serializable> get(java.lang.String key)
- Description copied from class:
AbstractStatefulProxyStore
- Get the proxy informations associated with the key
- Specified by:
get
in class AbstractStatefulProxyStore
- Returns:
- the value if found, null otherwise
store
protected void store(java.lang.String key,
java.util.Map<java.lang.String,java.io.Serializable> proxyInformation)
- Description copied from class:
AbstractStatefulProxyStore
- Store the value in the map.
- Specified by:
store
in class AbstractStatefulProxyStore