Uses of Class
org.eclipse.jetty.session.ManagedSession
Packages that use ManagedSession
Package
Description
Jetty Server : Modular Servlet Integration
Jetty Server : Modular Servlet Integration
Jetty Server : Core Handler API
Jetty Server : Core Handler API
Jetty Server : Session Management Implementations
- 
Uses of ManagedSession in org.eclipse.jetty.ee10.servlet
Methods in org.eclipse.jetty.ee10.servlet that return ManagedSessionModifier and TypeMethodDescriptionServletContextHandler.ServletRequestInfo.getManagedSession()ServletContextRequest.getManagedSession()SessionHandler.getManagedSession(Request request) SessionHandler.ServletSessionApi.getSession()static ManagedSessionSessionHandler.ServletSessionApi.getSession(jakarta.servlet.http.HttpSession httpSession) Methods in org.eclipse.jetty.ee10.servlet with parameters of type ManagedSessionModifier and TypeMethodDescriptionSessionHandler.newSessionAPIWrapper(ManagedSession session) voidServletContextRequest.setManagedSession(ManagedSession managedSession) SessionHandler.ServletSessionApi.wrapSession(ManagedSession session)  - 
Uses of ManagedSession in org.eclipse.jetty.ee11.servlet
Methods in org.eclipse.jetty.ee11.servlet that return ManagedSessionModifier and TypeMethodDescriptionServletContextHandler.ServletRequestInfo.getManagedSession()ServletContextRequest.getManagedSession()SessionHandler.getManagedSession(Request request) SessionHandler.ServletSessionApi.getSession()static ManagedSessionSessionHandler.ServletSessionApi.getSession(jakarta.servlet.http.HttpSession httpSession) Methods in org.eclipse.jetty.ee11.servlet with parameters of type ManagedSessionModifier and TypeMethodDescriptionSessionHandler.newSessionAPIWrapper(ManagedSession session) voidServletContextRequest.setManagedSession(ManagedSession managedSession) SessionHandler.ServletSessionApi.wrapSession(ManagedSession session) Constructors in org.eclipse.jetty.ee11.servlet with parameters of type ManagedSession - 
Uses of ManagedSession in org.eclipse.jetty.ee8.nested
Methods in org.eclipse.jetty.ee8.nested that return ManagedSessionModifier and TypeMethodDescriptionContextHandler.CoreContextRequest.getManagedSession()ContextHandler.CoreContextRequest.getManagedSession(SessionManager manager) Retrieve an existing session, if one exists, for a given SessionManager.SessionHandler.ServletSessionApi.getSession()Methods in org.eclipse.jetty.ee8.nested with parameters of type ManagedSessionModifier and TypeMethodDescriptionvoidContextHandler.CoreContextRequest.setManagedSession(ManagedSession managedSession)  - 
Uses of ManagedSession in org.eclipse.jetty.ee9.nested
Methods in org.eclipse.jetty.ee9.nested that return ManagedSessionModifier and TypeMethodDescriptionContextHandler.CoreContextRequest.getManagedSession()ContextHandler.CoreContextRequest.getManagedSession(SessionManager manager) Retrieve an existing session, if one exists, for a given SessionManager.SessionHandler.ServletSessionApi.getSession()Methods in org.eclipse.jetty.ee9.nested with parameters of type ManagedSessionModifier and TypeMethodDescriptionvoidContextHandler.CoreContextRequest.setManagedSession(ManagedSession managedSession)  - 
Uses of ManagedSession in org.eclipse.jetty.session
Methods in org.eclipse.jetty.session that return ManagedSessionModifier and TypeMethodDescriptionRemove a session object from this store and from any backing store.Remove a Session completely: from both this cache and the SessionDataStore.protected abstract ManagedSessionAbstractSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> 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 ManagedSessionDefaultSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> mappingFunction) protected ManagedSessionNullSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> mappingFunction) abstract ManagedSessionRemove the session with this identity from the storeprotected abstract ManagedSessionGet the session matching the key from the cache.Get a session object.Get an existing Session.protected ManagedSessionAbstractSessionCache.getAndEnter(String id, boolean enter) Get a session object.AbstractSessionManager.getManagedSession(String extendedId) Get a known existing sessionSessionHandler.getManagedSession(Request request) SessionManager.getManagedSession(String id) SessionManager.getManagedSession(Request request) AbstractSessionCache.newSession(String id, long time, long maxInactiveMs) abstract ManagedSessionAbstractSessionCache.newSession(SessionData data) Create a new Session object from pre-existing session dataDefaultSessionCache.newSession(SessionData data) NullSessionCache.newSession(SessionData data) SessionCache.newSession(String id, long time, long maxInactiveMs) Create an entirely new Session.SessionCache.newSession(SessionData data) Re-materialize a Session that has previously existed.AbstractSessionCache.renewSessionId(String oldId, String newId, String oldExtendedId, String newExtendedId) SessionCache.renewSessionId(String oldId, String newId, String oldExtendedId, String newExtendedId) Change the id of a Session.AbstractSessionManager.RequestedSession.session()Returns the value of thesessionrecord component.Methods in org.eclipse.jetty.session with parameters of type ManagedSessionModifier and TypeMethodDescriptionAbstractSessionManager.access(ManagedSession session, boolean secure) Called when a session is first accessed by request processing.voidAbstractSessionCache.add(String id, ManagedSession session) Add an entirely new session (created by the application calling Request.getSession(true)) to the cache.voidSessionCache.add(String id, ManagedSession session) Adds a new Session, with a never-before-used id, to the cache.voidAbstractSessionCache.checkInactiveSession(ManagedSession session) Check a session for being inactive and thus being able to be evicted, if eviction is enabled.voidSessionCache.checkInactiveSession(ManagedSession session) Check a Session to see if it might be appropriate to evict or expire.voidAbstractSessionCache.commit(ManagedSession session) A response that has accessed this session is about to be returned to the client.voidAbstractSessionManager.commit(ManagedSession session) Called when a response is about to be committed.voidSessionCache.commit(ManagedSession session) Called when a response is about to be committed.voidSessionManager.commit(ManagedSession session) voidAbstractSessionManager.complete(ManagedSession session) Called when a request is finally leaving a session.voidSessionManager.complete(ManagedSession session) protected abstract SessionAbstractSessionCache.doPutIfAbsent(String id, ManagedSession session) Put the session into the map if it wasn't already thereDefaultSessionCache.doPutIfAbsent(String id, ManagedSession session) NullSessionCache.doPutIfAbsent(String id, ManagedSession session) protected abstract booleanAbstractSessionCache.doReplace(String id, ManagedSession oldValue, ManagedSession newValue) Replace the mapping from id to oldValue with newValuebooleanDefaultSessionCache.doReplace(String id, ManagedSession oldValue, ManagedSession newValue) booleanNullSessionCache.doReplace(String id, ManagedSession oldValue, ManagedSession newValue) AbstractSessionManager.getSessionCookie(ManagedSession session, boolean requestIsSecure) A session cookie is marked as secure IFF any of the following conditions are true: SessionCookieConfig.setSecure == true SessionCookieConfig.setSecure == false && _secureRequestOnly==true && request is HTTPS According to SessionCookieConfig javadoc, case 1 can be used when: "... even though the request that initiated the session came over HTTP, is to support a topology where the web container is front-ended by an SSL offloading load balancer.SessionManager.getSessionCookie(ManagedSession session, boolean requestIsSecure) SessionHandler.newSessionAPIWrapper(ManagedSession session) SessionManager.newSessionAPIWrapper(ManagedSession session) AbstractSessionManager.newSessionInactivityTimer(ManagedSession session) Make a new timer for the session.SessionManager.newSessionInactivityTimer(ManagedSession session) voidAbstractSessionManager.recordSessionTime(ManagedSession session) Record length of time session has been active.voidSessionManager.recordSessionTime(ManagedSession session) voidAbstractSessionCache.release(ManagedSession session) Finish using the Session object.voidSessionCache.release(ManagedSession session) Finish using a Session.protected voidAbstractSessionCache.renewSessionId(ManagedSession session, String newId, String newExtendedId) Swap the id on a session.voidAbstractSessionManager.sessionTimerExpired(ManagedSession 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.voidSessionManager.sessionTimerExpired(ManagedSession session, long now) Method parameters in org.eclipse.jetty.session with type arguments of type ManagedSessionModifier and TypeMethodDescriptionprotected abstract ManagedSessionAbstractSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> 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 ManagedSessionDefaultSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> mappingFunction) protected ManagedSessionNullSessionCache.doComputeIfAbsent(String id, Function<String, ManagedSession> mappingFunction) voidAbstractSessionManager.newSession(Request request, String requestedSessionId, Consumer<ManagedSession> consumer) Create a new Session, using the requested session id if possible.voidSessionManager.newSession(Request request, String requestedSessionId, Consumer<ManagedSession> consumer) Constructors in org.eclipse.jetty.session with parameters of type ManagedSessionModifierConstructorDescriptionRequestedSession(ManagedSession session, String sessionId, String sessionIdFrom) Creates an instance of aRequestedSessionrecord class.SessionInactivityTimer(SessionManager sessionManager, ManagedSession session, Scheduler scheduler) Constructor parameters in org.eclipse.jetty.session with type arguments of type ManagedSessionModifierConstructorDescriptionDefaultSessionCache(SessionManager manager, ConcurrentMap<String, ManagedSession> sessions)