public class HashedSession extends MemSession
SESSION_CREATED_SECURE| 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() |
void |
deIdleFailed() |
protected void |
doInvalidate() |
void |
idle()
Idle the session to reduce session memory footprint.
|
boolean |
isDeIdleFailed() |
boolean |
isIdled() |
boolean |
isSaveFailed() |
void |
save(OutputStream os) |
void |
saveFailed() |
void |
setMaxInactiveInterval(int secs) |
addAttributes, clearAttributes, doGet, doGetAttributeNames, doPutOrRemove, getAttributeMap, getAttributes, getNamesaccess, bindValue, callSessionAttributeListeners, changeAttribute, checkExpiry, complete, cookieSet, didActivate, getAccessed, getAttribute, getAttributeNames, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getSessionManager, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, renewId, setAttribute, setClusterId, setCookieSetTime, setIdChanged, setLastAccessedTime, setNodeId, setRequests, timeout, toString, unbindValue, updateAttribute, 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
Exception - if unable to save sessionpublic boolean isIdled()
public boolean isSaveFailed()
public void saveFailed()
public void deIdleFailed()
public boolean isDeIdleFailed()
Copyright © 1995–2015 Mort Bay Consulting. All rights reserved.