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. _sessionsThe cache of sessions in a hashmapMethods in org.eclipse.jetty.server.session that return Session Modifier and Type Method Description SessionAbstractSessionCache. delete(java.lang.String id)Remove a session object from this store and from any backing store.SessionSessionCache. delete(java.lang.String id)Remove a Session completely: from both this cache and the SessionDataStore.protected abstract SessionAbstractSessionCache. 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 SessionDefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)protected SessionNullSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)abstract SessionAbstractSessionCache. doDelete(java.lang.String id)Remove the session with this identity from the storeSessionDefaultSessionCache. doDelete(java.lang.String id)SessionNullSessionCache. doDelete(java.lang.String id)protected abstract SessionAbstractSessionCache. doGet(java.lang.String id)Get the session matching the key from the cache.SessionDefaultSessionCache. doGet(java.lang.String id)SessionNullSessionCache. doGet(java.lang.String id)protected abstract SessionAbstractSessionCache. doPutIfAbsent(java.lang.String id, Session session)Put the session into the map if it wasn't already thereSessionDefaultSessionCache. doPutIfAbsent(java.lang.String id, Session session)SessionNullSessionCache. doPutIfAbsent(java.lang.String id, Session session)SessionAbstractSessionCache. get(java.lang.String id)Get a session object.SessionSessionCache. get(java.lang.String id)Get an existing Session.protected SessionAbstractSessionCache. getAndEnter(java.lang.String id, boolean enter)Get a session object.SessionSession. getSession()SessionSessionHandler. getSession(java.lang.String id)Get a known existing sessionSessionSessionHandler.SessionIf. getSession()SessionAbstractSessionCache. newSession(javax.servlet.http.HttpServletRequest request, java.lang.String id, long time, long maxInactiveMs)abstract SessionAbstractSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)Create a new Session for a request.abstract SessionAbstractSessionCache. newSession(SessionData data)Create a new Session object from pre-existing session dataSessionDefaultSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)SessionDefaultSessionCache. newSession(SessionData data)SessionNullSessionCache. newSession(javax.servlet.http.HttpServletRequest request, SessionData data)SessionNullSessionCache. newSession(SessionData data)SessionSessionCache. newSession(javax.servlet.http.HttpServletRequest request, java.lang.String id, long time, long maxInactiveMs)Create an entirely new Session.SessionSessionCache. newSession(SessionData data)Re-materialize a Session that has previously existed.SessionSessionHandler. removeSession(java.lang.String id, boolean invalidate)Remove session from managerSessionAbstractSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId, java.lang.String oldExtendedId, java.lang.String newExtendedId)default SessionSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)default SessionSessionCache. 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 voidAbstractSessionCache. add(java.lang.String id, Session session)Add an entirely new session (created by the application calling Request.getSession(true)) to the cache.voidSessionCache. add(java.lang.String id, Session session)Adds a new Session, with a never-before-used id, to the cache.protected voidSessionHandler. callSessionCreatedListeners(Session session)Call the session lifecycle listenersprotected voidSessionHandler. callSessionDestroyedListeners(Session session)Call the session lifecycle listenersprotected voidSessionHandler. callSessionIdListeners(Session session, java.lang.String oldId)voidAbstractSessionCache. checkInactiveSession(Session session)Check a session for being inactive and thus being able to be evicted, if eviction is enabled.voidSessionCache. checkInactiveSession(Session session)Check a Session to see if it might be appropriate to evict or expire.voidAbstractSessionCache. commit(Session session)A response that has accessed this session is about to be returned to the client.voidSessionCache. commit(Session session)Called when a response is about to be committed.voidSessionHandler. complete(Session session, Request baseRequest)Deprecated.protected abstract SessionAbstractSessionCache. doPutIfAbsent(java.lang.String id, Session session)Put the session into the map if it wasn't already thereSessionDefaultSessionCache. doPutIfAbsent(java.lang.String id, Session session)SessionNullSessionCache. doPutIfAbsent(java.lang.String id, Session session)protected abstract booleanAbstractSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)Replace the mapping from id to oldValue with newValuebooleanDefaultSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)booleanNullSessionCache. doReplace(java.lang.String id, Session oldValue, Session newValue)voidSessionHandler. doSessionAttributeListeners(Session session, java.lang.String name, java.lang.Object old, java.lang.Object value)voidAbstractSessionCache. put(java.lang.String id, Session session)Deprecated.useAbstractSessionCache.release(String, Session)insteadvoidSessionCache. put(java.lang.String id, Session session)Deprecated.protected voidSessionHandler. recordSessionTime(Session session)Record length of time session has been active.voidAbstractSessionCache. release(java.lang.String id, Session session)Finish using the Session object.voidSessionCache. release(java.lang.String id, Session session)Finish using a Session.protected voidAbstractSessionCache. renewSessionId(Session session, java.lang.String newId, java.lang.String newExtendedId)Swap the id on a session.voidSessionHandler. sessionInactivityTimerExpired(Session session)Deprecated.voidSessionHandler. 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 SessionAbstractSessionCache. 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 SessionDefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)protected SessionNullSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,Session> mappingFunction)
-