public class HashedSession extends MemSession
SESSION_KNOWN_ONLY_TO_AUTHENTICATED
Modifier | Constructor and Description |
---|---|
protected |
HashedSession(HashSessionManager hashSessionManager,
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, getNames
access, 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, setIdChanged, setLastAccessedTime, setNodeId, setRequests, timeout, toString, unbindValue, updateAttribute, willPassivate
protected HashedSession(HashSessionManager hashSessionManager, HttpServletRequest request)
protected HashedSession(HashSessionManager hashSessionManager, long created, long accessed, String clusterId)
protected void checkValid()
AbstractSession
checkValid
in class AbstractSession
public void setMaxInactiveInterval(int secs)
setMaxInactiveInterval
in interface HttpSession
setMaxInactiveInterval
in class AbstractSession
protected void doInvalidate() throws IllegalStateException
doInvalidate
in class AbstractSession
IllegalStateException
public void save(OutputStream os) throws IOException
IOException
public void deIdle()
public void idle() throws Exception
Exception
public boolean isIdled()
public boolean isSaveFailed()
public void saveFailed()
public void deIdleFailed()
public boolean isDeIdleFailed()
Copyright © 1995-2015 Webtide. All Rights Reserved.