Uses of Class
com.aspectran.core.component.session.DefaultSession
-
Packages that use DefaultSession Package Description com.aspectran.core.component.session Session Management Implementations -
-
Uses of DefaultSession in com.aspectran.core.component.session
Methods in com.aspectran.core.component.session that return DefaultSession Modifier and Type Method Description DefaultSessionAbstractSessionCache. add(java.lang.String id, long time, long maxInactiveInterval)DefaultSessionSessionCache. add(java.lang.String id, long time, long maxInactiveInterval)Add an entirely new session to the cache.DefaultSessionAbstractSessionHandler. createSession(java.lang.String id)DefaultSessionSessionHandler. createSession(java.lang.String id)Create an entirely new Session.DefaultSessionAbstractSessionCache. delete(java.lang.String id)DefaultSessionSessionCache. delete(java.lang.String id)Remove a Session completely: from both this cache and the SessionStore.abstract DefaultSessionAbstractSessionCache. doDelete(java.lang.String id)Remove the session with this identity from the store.DefaultSessionDefaultSessionCache. doDelete(java.lang.String id)abstract DefaultSessionAbstractSessionCache. doGet(java.lang.String id)Get the session matching the key.DefaultSessionDefaultSessionCache. doGet(java.lang.String id)abstract DefaultSessionAbstractSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)Put the session into the map if it wasn't already there.DefaultSessionDefaultSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)DefaultSessionAbstractSessionCache. get(java.lang.String id)DefaultSessionSessionCache. get(java.lang.String id)Get an existing Session.DefaultSessionAbstractSessionHandler. getSession(java.lang.String id)DefaultSessionSessionHandler. getSession(java.lang.String id)Get a known existing session.DefaultSessionAbstractSessionHandler. removeSession(java.lang.String id, boolean invalidate)DefaultSessionAbstractSessionHandler. removeSession(java.lang.String id, boolean invalidate, Session.DestroyedReason reason)DefaultSessionSessionHandler. removeSession(java.lang.String id, boolean invalidate)Remove session from manager.DefaultSessionSessionHandler. removeSession(java.lang.String id, boolean invalidate, Session.DestroyedReason reason)DefaultSessionAbstractSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)DefaultSessionSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)Change the id of a Session.Methods in com.aspectran.core.component.session with parameters of type DefaultSession Modifier and Type Method Description voidAbstractSessionCache. checkInactiveSession(DefaultSession session)Check a session for being inactive and thus being able to be evicted, if eviction is enabled.voidSessionCache. checkInactiveSession(DefaultSession session)Check a Session to see if it might be appropriate to evict or expire.abstract DefaultSessionAbstractSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)Put the session into the map if it wasn't already there.DefaultSessionDefaultSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)abstract booleanAbstractSessionCache. doReplace(java.lang.String id, DefaultSession oldValue, DefaultSession newValue)Replace the mapping from id to oldValue with newValue.booleanDefaultSessionCache. doReplace(java.lang.String id, DefaultSession oldValue, DefaultSession newValue)voidAbstractSessionHandler. recordSessionTime(DefaultSession session)voidSessionHandler. recordSessionTime(DefaultSession session)Record length of time session has been active.voidAbstractSessionCache. release(java.lang.String id, DefaultSession session)voidSessionCache. release(java.lang.String id, DefaultSession session)Finish using a Session.voidAbstractSessionHandler. releaseSession(DefaultSession session)voidSessionHandler. releaseSession(DefaultSession session)protected voidAbstractSessionCache. renewSessionId(DefaultSession session, java.lang.String newId)Swap the id on a session.voidAbstractSessionHandler. sessionInactivityTimerExpired(DefaultSession session, long now)voidSessionHandler. sessionInactivityTimerExpired(DefaultSession 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.
-