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, willPassivate
protected 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.HttpSession
setAttribute
in class AbstractSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
removeAttribute
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
public String toString()
toString
in class AbstractSession
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.