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(String sessionId,
String rowId,
long created,
long accessed)
Session restored from database
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
access(long time)
Entry to session.
|
protected void |
complete()
Exit from session
|
protected void |
cookieSet() |
String |
getCanonicalContext() |
long |
getCookieSet() |
long |
getExpiryTime() |
String |
getLastNode() |
long |
getLastSaved() |
protected String |
getRowId() |
String |
getVirtualHost() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setCanonicalContext(String str) |
void |
setCookieSet(long ms) |
void |
setExpiryTime(long time) |
void |
setLastNode(String node) |
void |
setLastSaved(long time) |
protected void |
setRowId(String rowId) |
void |
setVirtualHost(String vhost) |
protected void |
timeout() |
String |
toString() |
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, setLastAccessedTime, setMaxInactiveInterval, setRequests, unbindValue, willPassivateprotected JDBCSessionManager.Session(javax.servlet.http.HttpServletRequest request)
request - protected String getRowId()
protected void setRowId(String rowId)
public void setVirtualHost(String vhost)
public String getVirtualHost()
public long getLastSaved()
public void setLastSaved(long time)
public void setExpiryTime(long time)
public long getExpiryTime()
public void setCanonicalContext(String str)
public String getCanonicalContext()
public void setCookieSet(long ms)
public long getCookieSet()
public void setLastNode(String node)
public String getLastNode()
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 AbstractSessionIllegalStateExceptionpublic String toString()
toString in class AbstractSessionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.