public class HashedSession extends AbstractSession
| Modifier | Constructor and Description |
|---|---|
protected |
HashedSession(HashSessionManager hashSessionManager,
javax.servlet.http.HttpServletRequest request) |
protected |
HashedSession(HashSessionManager hashSessionManager,
long created,
long accessed,
String clusterId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValid()
asserts that the session is valid
|
void |
deIdle() |
protected void |
doInvalidate() |
void |
idle()
Idle the session to reduce session memory footprint.
|
boolean |
isIdled() |
boolean |
isSaveFailed() |
void |
save(OutputStream os) |
void |
saveFailed() |
void |
setMaxInactiveInterval(int secs) |
access, addAttributes, bindValue, clearAttributes, complete, cookieSet, didActivate, doGet, doPutOrRemove, getAccessed, getAttribute, getAttributeMap, getAttributeNames, getAttributes, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNames, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, setAttribute, setIdChanged, setLastAccessedTime, setRequests, timeout, toString, unbindValue, willPassivateprotected HashedSession(HashSessionManager hashSessionManager, javax.servlet.http.HttpServletRequest request)
protected HashedSession(HashSessionManager hashSessionManager, long created, long accessed, String clusterId)
protected void checkValid()
AbstractSessioncheckValid in class AbstractSessionpublic void setMaxInactiveInterval(int secs)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionsetMaxInactiveInterval in class AbstractSessionprotected void doInvalidate()
throws IllegalStateException
doInvalidate in class AbstractSessionIllegalStateExceptionpublic void save(OutputStream os) throws IOException
IOExceptionpublic void deIdle()
public void idle()
throws Exception
Exceptionpublic boolean isIdled()
public boolean isSaveFailed()
public void saveFailed()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.