public interface Session
| Modifier and Type | Field and Description |
|---|---|
static String |
ENGINE_BASE_INDEX
The index of the EngineBase from the mandator-id by the SymbolService
|
static String |
ENGINE_VELOCITY
The key of the velocity engine
|
static String |
SESSIONID
The id of the session
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearData()
Cleanup the data map
|
void |
destroy()
Destroys the session
|
Set<String> |
getKeys()
Get a set of keys of the key-value-pairs.
|
String |
getMandator()
Gets the mandator
|
String |
getSessionId()
Gets the session id
|
long |
getStartTime()
Gets the start time of the session
|
long |
getTimeout()
Gets the timeout
|
Object |
getValue(String key)
Gets a value
|
boolean |
isAlive()
Returns true if the session is not destroyed.
|
boolean |
isValid()
Returns true if the session is not destroyed and not running out of time.
|
void |
setValue(String key,
Object value)
Sets a value
|
static final String SESSIONID
static final String ENGINE_BASE_INDEX
static final String ENGINE_VELOCITY
String getSessionId()
String getMandator()
void clearData()
long getStartTime()
long getTimeout()
boolean isValid()
boolean isAlive()
void destroy()
Copyright © 2015. All rights reserved.