Uses of Class
org.eclipse.jetty.server.session.Session
-
Packages that use Session Package Description org.eclipse.jetty.server.session Jetty Server : Session Management Implementations -
-
Uses of Session in org.eclipse.jetty.server.session
Fields in org.eclipse.jetty.server.session with type parameters of type Session Modifier and Type Field Description protected java.util.concurrent.ConcurrentHashMap<java.lang.String,Session>
DefaultSessionCache. _sessions
The cache of sessions in a hashmapMethods in org.eclipse.jetty.server.session that return Session Modifier and Type Method Description Session
AbstractSessionCache. delete(java.lang.String id)
Remove a session object from this store and from any backing store.Session
SessionCache. delete(java.lang.String id)
Remove a Session completely: from both this cache and the SessionDataStore.protected abstract Session
AbstractSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
Compute the mappingFunction to create a Session object iff the session with the given id isn't already in the map, otherwise return the existing Session.protected Session
DefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
protected Session
NullSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
abstract Session
AbstractSessionCache. doDelete(java.lang.String id)
Remove the session with this identity from the storeSession
DefaultSessionCache. doDelete(java.lang.String id)
Session
NullSessionCache. doDelete(java.lang.String id)
protected abstract Session
AbstractSessionCache. doGet(java.lang.String id)
Get the session matching the key from the cache.Session
DefaultSessionCache. doGet(java.lang.String id)
Session
NullSessionCache. doGet(java.lang.String id)
protected abstract Session
AbstractSessionCache. doPutIfAbsent(java.lang.String id, Session session)
Put the session into the map if it wasn't already thereSession
DefaultSessionCache. doPutIfAbsent(java.lang.String id, Session session)
Session
NullSessionCache. doPutIfAbsent(java.lang.String id, Session session)
Session
AbstractSessionCache. get(java.lang.String id)
Get a session object.Session
SessionCache. get(java.lang.String id)
Get an existing Session.protected Session
AbstractSessionCache. getAndEnter(java.lang.String id, boolean enter)
Get a session object.Session
Session. getSession()
Session
SessionHandler. getSession(java.lang.String id)
Get a known existing sessionSession
SessionHandler.SessionIf. getSession()
Session
AbstractSessionCache. newSession(javax.servlet.http.HttpServletRequest request, java.lang.String id, long time, long maxInactiveMs)
abstract Session
AbstractSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)
Create a new Session for a request.abstract Session
AbstractSessionCache. newSession(SessionData data)
Create a new Session object from pre-existing session dataSession
DefaultSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)
Session
DefaultSessionCache. newSession(SessionData data)
Session
NullSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)
Session
NullSessionCache. newSession(SessionData data)
Session
SessionCache. newSession(javax.servlet.http.HttpServletRequest request, java.lang.String id, long time, long maxInactiveMs)
Create an entirely new Session.Session
SessionCache. newSession(SessionData data)
Re-materialize a Session that has previously existed.Session
SessionHandler. removeSession(java.lang.String id, boolean invalidate)
Remove session from managerSession
AbstractSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId, java.lang.String oldExtendedId, java.lang.String newExtendedId)
default Session
SessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)
default Session
SessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId, java.lang.String oldExtendedId, java.lang.String newExtendedId)
Change the id of a Session.Methods in org.eclipse.jetty.server.session with parameters of type Session Modifier and Type Method Description void
AbstractSessionCache. add(java.lang.String id, Session session)
Add an entirely new session (created by the application calling Request.getSession(true)) to the cache.void
SessionCache. add(java.lang.String id, Session session)
Adds a new Session, with a never-before-used id, to the cache.protected void
SessionHandler. callSessionCreatedListeners(Session session)
Call the session lifecycle listenersprotected void
SessionHandler. callSessionDestroyedListeners(Session session)
Call the session lifecycle listenersprotected void
SessionHandler. callSessionIdListeners(Session session, java.lang.String oldId)
void
AbstractSessionCache. checkInactiveSession(Session session)
Check a session for being inactive and thus being able to be evicted, if eviction is enabled.void
SessionCache. checkInactiveSession(Session session)
Check a Session to see if it might be appropriate to evict or expire.void
AbstractSessionCache. commit(Session session)
A response that has accessed this session is about to be returned to the client.void
SessionCache. commit(Session session)
Called when a response is about to be committed.void
SessionHandler. complete(Session session, Request baseRequest)
Deprecated.protected abstract Session
AbstractSessionCache. doPutIfAbsent(java.lang.String id, Session session)
Put the session into the map if it wasn't already thereSession
DefaultSessionCache. doPutIfAbsent(java.lang.String id, Session session)
Session
NullSessionCache. doPutIfAbsent(java.lang.String id, Session session)
protected abstract boolean
AbstractSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)
Replace the mapping from id to oldValue with newValueboolean
DefaultSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)
boolean
NullSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)
void
SessionHandler. doSessionAttributeListeners(Session session, java.lang.String name, java.lang.Object old, java.lang.Object value)
void
AbstractSessionCache. put(java.lang.String id, Session session)
Deprecated.useAbstractSessionCache.release(String, Session)
insteadvoid
SessionCache. put(java.lang.String id, Session session)
Deprecated.protected void
SessionHandler. recordSessionTime(Session session)
Record length of time session has been active.void
AbstractSessionCache. release(java.lang.String id, Session session)
Finish using the Session object.void
SessionCache. release(java.lang.String id, Session session)
Finish using a Session.protected void
AbstractSessionCache. renewSessionId(Session session, java.lang.String newId, java.lang.String newExtendedId)
Swap the id on a session.void
SessionHandler. sessionInactivityTimerExpired(Session session)
Deprecated.void
SessionHandler. sessionInactivityTimerExpired(Session session, long now)
Each session has a timer that is configured to go off when either the session has not been accessed for a configurable amount of time, or the session itself has passed its expiry.Method parameters in org.eclipse.jetty.server.session with type arguments of type Session Modifier and Type Method Description protected abstract Session
AbstractSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
Compute the mappingFunction to create a Session object iff the session with the given id isn't already in the map, otherwise return the existing Session.protected Session
DefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
protected Session
NullSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
-