public class GigaSessionManager.Session
extends org.eclipse.jetty.server.session.MemSession
| Modifier | Constructor and Description |
|---|---|
protected |
Session(javax.servlet.http.HttpServletRequest request)
Session from a request.
|
protected |
Session(SessionData data) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
access(long time)
Entry to session.
|
protected void |
complete()
Exit from session
If the session attributes changed then always write the session to the cloud.
|
protected void |
cookieSet() |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setMaxInactiveInterval(int seconds)
We override it here so we can reset the expiry time based on the
|
protected void |
timeout() |
addAttributes, clearAttributes, doGet, doGetAttributeNames, doPutOrRemove, getAttributeMap, getAttributes, getNamesbindValue, callSessionAttributeListeners, changeAttribute, checkExpiry, checkValid, didActivate, doInvalidate, getAccessed, getAttribute, getAttributeNames, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getSessionManager, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeValue, renewId, setClusterId, setIdChanged, setLastAccessedTime, setNodeId, setRequests, toString, unbindValue, updateAttribute, willPassivateprotected Session(javax.servlet.http.HttpServletRequest request)
protected Session(SessionData data)
protected void cookieSet()
cookieSet in class org.eclipse.jetty.server.session.AbstractSessionpublic void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.http.HttpSessionsetAttribute in class org.eclipse.jetty.server.session.AbstractSessionpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionremoveAttribute in class org.eclipse.jetty.server.session.AbstractSessionprotected boolean access(long time)
access in class org.eclipse.jetty.server.session.AbstractSessionpublic void setMaxInactiveInterval(int seconds)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionsetMaxInactiveInterval in class org.eclipse.jetty.server.session.AbstractSessionprotected void complete()
complete in class org.eclipse.jetty.server.session.AbstractSessionprotected void timeout()
throws IllegalStateException
timeout in class org.eclipse.jetty.server.session.AbstractSessionIllegalStateExceptionCopyright © GigaSpaces.