|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.danube.http.session.Session
public class Session
Simple session object
Field Summary | |
---|---|
protected Map<String,Object> |
attributes
Session attributes |
protected long |
lastAccessed
Time when session is accessed |
protected String |
sessionId
Session id |
Constructor Summary | |
---|---|
Session(String sessionId)
Constructor |
Method Summary | |
---|---|
Map<String,Object> |
getAttributes()
Returns session attributes |
long |
getLastAccessed()
Returns value of { lastAccessed field. |
String |
getSessionId()
Returns session id |
protected void |
resetAccess()
Sets lastAccessed field to current time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,Object> attributes
protected long lastAccessed
protected String sessionId
Constructor Detail |
---|
public Session(String sessionId)
sessionId
- session idMethod Detail |
---|
public String getSessionId()
public Map<String,Object> getAttributes()
public long getLastAccessed()
lastAccessed
field.
lastAccessed
field.protected void resetAccess()
lastAccessed
field to current time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |