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, willPassivate
protected HashedSession(HashSessionManager hashSessionManager, javax.servlet.http.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 javax.servlet.http.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()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.