org.eclipse.jetty.server.session
Class JDBCSessionManager.Session
java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionManager.Session
org.eclipse.jetty.server.session.JDBCSessionManager.Session
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.http.HttpSession, AbstractSessionManager.SessionIf
- Enclosing class:
- JDBCSessionManager
public class JDBCSessionManager.Session
- extends AbstractSessionManager.Session
Session
Session instance in memory of this node.
- See Also:
- Serialized Form
| Fields inherited from class org.eclipse.jetty.server.session.AbstractSessionManager.Session |
_accessed, _clusterId, _cookieSet, _created, _doInvalidate, _idChanged, _invalid, _lastAccessed, _maxIdleMs, _newSession, _nodeId, _requests, _values |
| Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionManager.Session |
bindValue, didActivate, doInvalidate, getAttribute, getAttributeNames, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNodeId, getServletContext, getSession, getSessionContext, getValue, getValueNames, initValues, invalidate, isIdChanged, isNew, isValid, putValue, removeValue, setIdChanged, setMaxInactiveInterval, toString, unbindValue, willPassivate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JDBCSessionManager.Session
protected JDBCSessionManager.Session(javax.servlet.http.HttpServletRequest request)
- Session from a request.
- Parameters:
request -
JDBCSessionManager.Session
protected JDBCSessionManager.Session(JDBCSessionManager.SessionData data)
- Session restored in database.
- Parameters:
data -
newAttributeMap
protected java.util.Map newAttributeMap()
- Specified by:
newAttributeMap in class AbstractSessionManager.Session
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute in interface javax.servlet.http.HttpSession- Overrides:
setAttribute in class AbstractSessionManager.Session
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface javax.servlet.http.HttpSession- Overrides:
removeAttribute in class AbstractSessionManager.Session
cookieSet
protected void cookieSet()
- Overrides:
cookieSet in class AbstractSessionManager.Session
access
protected void access(long time)
- Entry to session.
Called by SessionHandler on inbound request and the session already exists in this node's memory.
- Overrides:
access in class AbstractSessionManager.Session
- See Also:
AbstractSessionManager.Session.access(long)
complete
protected void complete()
- Exit from session
- Overrides:
complete in class AbstractSessionManager.Session
- See Also:
AbstractSessionManager.Session.complete()
timeout
protected void timeout()
throws java.lang.IllegalStateException
- Overrides:
timeout in class AbstractSessionManager.Session
- Throws:
java.lang.IllegalStateException
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.