public class JDBCSessionManager.Session extends AbstractSession
SESSION_KNOWN_ONLY_TO_AUTHENTICATED
Modifier | Constructor and Description |
---|---|
protected |
JDBCSessionManager.Session(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) |
protected void |
save() |
void |
setAttribute(String name,
Object value) |
protected void |
setClusterId(String clusterId) |
protected void |
setNodeId(String nodeId) |
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, getSessionManager, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeValue, renewId, setIdChanged, setMaxInactiveInterval, setRequests, toString, unbindValue, willPassivate
protected JDBCSessionManager.Session(HttpServletRequest request)
request
- protected JDBCSessionManager.Session(long accessed, JDBCSessionManager.SessionData data)
data
- public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
setAttribute
in class AbstractSession
public void removeAttribute(String name)
removeAttribute
in interface HttpSession
removeAttribute
in class AbstractSession
protected void setClusterId(String clusterId)
setClusterId
in class AbstractSession
protected void setNodeId(String nodeId)
setNodeId
in class AbstractSession
protected void cookieSet()
cookieSet
in class AbstractSession
protected boolean access(long time)
access
in class AbstractSession
AbstractSession.access(long)
protected void complete()
complete
in class AbstractSession
AbstractSession.complete()
protected void timeout() throws IllegalStateException
timeout
in class AbstractSession
IllegalStateException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.