public interface SessionStore
| Modifier and Type | Method and Description |
|---|---|
Object |
get(WebContext context,
String key)
Get the object from its key in store.
|
String |
getOrCreateSessionId(WebContext context)
Get or create the session identifier and initialize the session with it if necessary.
|
void |
set(WebContext context,
String key,
Object value)
Save an object in the store by its key.
|
String getOrCreateSessionId(WebContext context)
context - the web contextObject get(WebContext context, String key)
context - the web contextkey - the key of the objectvoid set(WebContext context, String key, Object value)
context - the web contextkey - the key of the objectvalue - the value to save in storeCopyright © 2016. All Rights Reserved.