|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.server.session.AbstractSession
org.openspaces.jee.sessions.jetty.GigaSessionManager.Session
public class GigaSessionManager.Session
Session A session in memory of a Context. Adds behavior around SessionData.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jetty.server.session.AbstractSession |
|---|
_jdbcAttributes |
| Constructor Summary | |
|---|---|
protected |
GigaSessionManager.Session(org.eclipse.jetty.server.session.AbstractSessionManager manager,
javax.servlet.http.HttpServletRequest request)
Session from a request. |
protected |
GigaSessionManager.Session(org.eclipse.jetty.server.session.AbstractSessionManager manager,
SessionData data)
|
| Method Summary | |
|---|---|
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 |
didActivate()
|
String |
getClusterId()
|
String |
getNodeId()
|
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()
|
void |
willPassivate()
|
| Methods inherited from class org.eclipse.jetty.server.session.AbstractSession |
|---|
bindValue, checkValid, clearAttributes, doGet, doInvalidate, doPutOrRemove, getAccessed, getAttribute, getAttributeNames, getAttributes, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNames, getRequests, getServletContext, getSession, getSessionContext, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeValue, setIdChanged, setRequests, toString, unbindValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected GigaSessionManager.Session(org.eclipse.jetty.server.session.AbstractSessionManager manager,
javax.servlet.http.HttpServletRequest request)
protected GigaSessionManager.Session(org.eclipse.jetty.server.session.AbstractSessionManager manager,
SessionData data)
| Method Detail |
|---|
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.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.AbstractSession
protected void timeout()
throws IllegalStateException
timeout in class org.eclipse.jetty.server.session.AbstractSessionIllegalStateExceptionpublic void willPassivate()
willPassivate in class org.eclipse.jetty.server.session.AbstractSessionpublic void didActivate()
didActivate in class org.eclipse.jetty.server.session.AbstractSessionpublic String getClusterId()
getClusterId in class org.eclipse.jetty.server.session.AbstractSessionpublic String getNodeId()
getNodeId in class org.eclipse.jetty.server.session.AbstractSession
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||