Package | Description |
---|---|
org.eclipse.jetty.server.session |
Jetty Server : Session Management Implementations
|
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractSessionCache.PlaceHolderSession
PlaceHolder
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<String,Session> |
DefaultSessionCache._sessions
The cache of sessions in a hashmap
|
Modifier and Type | Method and Description |
---|---|
Session |
SessionCache.delete(String id)
Remove a Session completely: from both this
cache and the SessionDataStore.
|
Session |
AbstractSessionCache.delete(String id)
Remove a session object from this store and from any backing store.
|
Session |
NullSessionCache.doDelete(String id) |
Session |
DefaultSessionCache.doDelete(String id) |
abstract Session |
AbstractSessionCache.doDelete(String id)
Remove the session with this identity from the store
|
Session |
NullSessionCache.doGet(String id) |
Session |
DefaultSessionCache.doGet(String id) |
abstract Session |
AbstractSessionCache.doGet(String id)
Get the session matching the key
|
Session |
NullSessionCache.doPutIfAbsent(String id,
Session session) |
Session |
DefaultSessionCache.doPutIfAbsent(String id,
Session session) |
abstract Session |
AbstractSessionCache.doPutIfAbsent(String id,
Session session)
Put the session into the map if it wasn't already there
|
Session |
SessionCache.get(String id)
Get an existing Session.
|
Session |
AbstractSessionCache.get(String id)
Get a session object.
|
Session |
SessionHandler.SessionIf.getSession() |
Session |
Session.getSession() |
Session |
SessionHandler.getSession(String id)
Get a known existing session
|
Session |
NullSessionCache.newSession(HttpServletRequest request,
SessionData data) |
Session |
DefaultSessionCache.newSession(HttpServletRequest request,
SessionData data) |
abstract Session |
AbstractSessionCache.newSession(HttpServletRequest request,
SessionData data)
Create a new Session for a request.
|
Session |
SessionCache.newSession(HttpServletRequest request,
String id,
long time,
long maxInactiveMs)
Create an entirely new Session.
|
Session |
AbstractSessionCache.newSession(HttpServletRequest request,
String id,
long time,
long maxInactiveMs) |
Session |
SessionCache.newSession(SessionData data)
Re-materialize a Session that has previously existed.
|
Session |
NullSessionCache.newSession(SessionData data) |
Session |
DefaultSessionCache.newSession(SessionData data) |
abstract Session |
AbstractSessionCache.newSession(SessionData data)
Create a new Session object from pre-existing session data
|
Session |
SessionHandler.removeSession(String id,
boolean invalidate)
Remove session from manager
|
Session |
SessionCache.renewSessionId(String oldId,
String newId)
Change the id of a Session.
|
Session |
AbstractSessionCache.renewSessionId(String oldId,
String newId) |
Modifier and Type | Method and Description |
---|---|
void |
SessionCache.checkInactiveSession(Session session)
Check a Session to see if it might be appropriate to
evict or expire.
|
void |
AbstractSessionCache.checkInactiveSession(Session session)
Check a session for being inactive and
thus being able to be evicted, if eviction
is enabled.
|
void |
SessionHandler.complete(Session session,
Request request) |
Session |
NullSessionCache.doPutIfAbsent(String id,
Session session) |
Session |
DefaultSessionCache.doPutIfAbsent(String id,
Session session) |
abstract Session |
AbstractSessionCache.doPutIfAbsent(String id,
Session session)
Put the session into the map if it wasn't already there
|
boolean |
NullSessionCache.doReplace(String id,
Session oldValue,
Session newValue) |
boolean |
DefaultSessionCache.doReplace(String id,
Session oldValue,
Session newValue) |
abstract boolean |
AbstractSessionCache.doReplace(String id,
Session oldValue,
Session newValue)
Replace the mapping from id to oldValue with newValue
|
void |
SessionHandler.doSessionAttributeListeners(Session session,
String name,
Object old,
Object value) |
void |
SessionCache.put(String id,
Session session)
Finish using a Session.
|
void |
AbstractSessionCache.put(String id,
Session session)
Put the Session object back into the session store.
|
void |
SessionHandler.sessionInactivityTimerExpired(Session session)
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.
|
Constructor and Description |
---|
SessionAsyncListener(Session session) |
Copyright © 1995–2017 Webtide. All rights reserved.