public interface SessionStore<C extends WebContext>
Modifier and Type | Method and Description |
---|---|
Object |
get(C context,
String key)
Get the object from its key in store.
|
String |
getOrCreateSessionId(C context)
Get or create the session identifier and initialize the session with it if necessary.
|
void |
set(C context,
String key,
Object value)
Save an object in the store by its key.
|
String getOrCreateSessionId(C context)
context
- the web contextObject get(C context, String key)
context
- the web contextkey
- the key of the objectCopyright © 2016. All rights reserved.