HttpSession
, Session
DeltaSession
public interface ClusterSession extends Session, HttpSession
SESSION_ACTIVATED_EVENT, SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT, SESSION_PASSIVATED_EVENT
Modifier and Type | Method | Description |
---|---|---|
boolean |
isPrimarySession() |
returns true if this session is the primary session, if that is the
case, the manager can expire it upon timeout.
|
void |
setPrimarySession(boolean primarySession) |
Sets whether this is the primary session or not.
|
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval
access, addSessionListener, endAccess, expire, getAuthType, getCreationTime, getCreationTimeInternal, getId, getIdInternal, getIdleTime, getIdleTimeInternal, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getThisAccessedTime, getThisAccessedTimeInternal, isAttributeDistributable, isValid, recycle, removeNote, removeSessionListener, setAuthType, setCreationTime, setId, setId, setManager, setMaxInactiveInterval, setNew, setNote, setPrincipal, setValid, tellChangedSessionId
boolean isPrimarySession()
void setPrimarySession(boolean primarySession)
primarySession
- Flag valueCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.