org.eclipse.jetty.server.session
Class HashedSession
java.lang.Object
org.eclipse.jetty.server.session.AbstractSession
org.eclipse.jetty.server.session.HashedSession
- All Implemented Interfaces:
- HttpSession, AbstractSessionManager.SessionIf
public class HashedSession
- extends AbstractSession
Methods inherited from class org.eclipse.jetty.server.session.AbstractSession |
access, bindValue, clearAttributes, complete, cookieSet, didActivate, doGet, doPutOrRemove, getAccessed, getAttribute, 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, setRequests, timeout, toString, unbindValue, willPassivate |
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
HttpServletRequest request)
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
long created,
long accessed,
String clusterId)
checkValid
protected void checkValid()
- Description copied from class:
AbstractSession
- asserts that the session is valid
- Overrides:
checkValid
in class AbstractSession
setMaxInactiveInterval
public void setMaxInactiveInterval(int secs)
- Specified by:
setMaxInactiveInterval
in interface HttpSession
- Overrides:
setMaxInactiveInterval
in class AbstractSession
doInvalidate
protected void doInvalidate()
throws IllegalStateException
- Overrides:
doInvalidate
in class AbstractSession
- Throws:
IllegalStateException
save
public void save(OutputStream os)
throws IOException
- Throws:
IOException
deIdle
public void deIdle()
idle
public void idle()
- Idle the session to reduce session memory footprint.
The session is idled by persisting it, then clearing the session values attribute map and finally setting
it to an idled state.
isIdled
public boolean isIdled()
isSaveFailed
public boolean isSaveFailed()
saveFailed
public void saveFailed()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.