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:
- javax.servlet.http.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
javax.servlet.http.HttpServletRequest request)
HashedSession
protected HashedSession(HashSessionManager hashSessionManager,
long created,
long accessed,
java.lang.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 javax.servlet.http.HttpSession
- Overrides:
setMaxInactiveInterval
in class AbstractSession
doInvalidate
protected void doInvalidate()
throws java.lang.IllegalStateException
- Overrides:
doInvalidate
in class AbstractSession
- Throws:
java.lang.IllegalStateException
save
public void save(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.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 © 2013. All Rights Reserved.