public class GigaSessionManager.Session
extends org.eclipse.jetty.server.session.AbstractSession
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, 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, setRequests, toString, unbindValue, willPassivate
protected Session(javax.servlet.http.HttpServletRequest request)
protected Session(SessionData data)
protected void cookieSet()
cookieSet
in class org.eclipse.jetty.server.session.AbstractSession
public void setAttribute(String name, Object value)
setAttribute
in interface javax.servlet.http.HttpSession
setAttribute
in class org.eclipse.jetty.server.session.AbstractSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
removeAttribute
in class org.eclipse.jetty.server.session.AbstractSession
protected boolean access(long time)
access
in class org.eclipse.jetty.server.session.AbstractSession
public void setMaxInactiveInterval(int seconds)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval
in class org.eclipse.jetty.server.session.AbstractSession
protected void complete()
complete
in class org.eclipse.jetty.server.session.AbstractSession
protected void timeout() throws IllegalStateException
timeout
in class org.eclipse.jetty.server.session.AbstractSession
IllegalStateException
Copyright © GigaSpaces.