public class JDBCSessionManager.Session extends AbstractSession
| Modifier | Constructor and Description |
|---|---|
protected |
JDBCSessionManager.Session(javax.servlet.http.HttpServletRequest request)
Session from a request.
|
protected |
JDBCSessionManager.Session(long accessed,
JDBCSessionManager.SessionData data)
Session restored in database.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
access(long time)
Entry to session.
|
protected void |
complete()
Exit from session
|
protected void |
cookieSet() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
protected void |
timeout() |
addAttributes, bindValue, checkValid, clearAttributes, didActivate, doGet, doInvalidate, 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, removeValue, setIdChanged, setMaxInactiveInterval, setRequests, toString, unbindValue, willPassivateprotected JDBCSessionManager.Session(javax.servlet.http.HttpServletRequest request)
request - protected JDBCSessionManager.Session(long accessed,
JDBCSessionManager.SessionData data)
data - public void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.http.HttpSessionsetAttribute in class AbstractSessionpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionremoveAttribute in class AbstractSessionprotected void cookieSet()
cookieSet in class AbstractSessionprotected boolean access(long time)
access in class AbstractSessionAbstractSession.access(long)protected void complete()
complete in class AbstractSessionAbstractSession.complete()protected void timeout()
throws IllegalStateException
timeout in class AbstractSessionIllegalStateExceptionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.