public class FullHASession extends BaseHASession
persistentFlag, userName_sessionLock, attributes, authType, containerEventMethod, context, creationTime, debug, EMPTY_ARRAY, expiring, facade, id, info, isNew, isValid, lastAccessedTime, listeners, manager, maxInactiveInterval, NOT_SERIALIZED, notes, principal, SEPARATE_BUFFER_SERIALIZATION, sessionContext, sessionLockMonitor, ssoId, ssoVersion, SYNC_STRING, thisAccessedTime, threadContextManager, versionSESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT| Constructor and Description |
|---|
FullHASession(Manager manager)
Creates a new instance of FullHASession
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Return the object bound with the specified name in this session, or
null if no object is bound with that name. |
boolean |
isDirty()
always return true for isDirty()
this type of session is always dirty
|
void |
removeAttribute(String name)
Remove the object bound with the specified name from this session.
|
void |
setAttribute(String name,
Object value)
Bind an object to this session, using the specified name.
|
void |
setDirty(boolean isDirty)
this is deliberately a no-op
store framework calls this method
so it must be there but must not have
any effect
|
getUserName, isPersistent, isPersistentFlag, recycle, save, setId, setPersistent, setPrincipal, setUserName, superToString, sync, toStringaccess, activate, addSessionListener, endAccess, evaluateIfValid, exclude, expire, expire, expire, fireContainerEvent, fireSessionEvent, getAttributeInternal, getAttributeNames, getAttributes, getAuthType, getBeKey, getCreationTime, getId, getIdInternal, getInfo, getIsValid, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getServletContext, getSession, getSessionContext, getSessionLock, getSessionLockForForeground, getSipApplicationSessionId, getSsoId, getSsoVersion, getValue, getValueNames, getVersion, hasExpired, hasNonHttpLockOccurred, incrementVersion, invalidate, isForegroundLocked, isNew, isValid, keys, lockBackground, lockForeground, log, log, log, passivate, putValue, removeAttribute, removeNote, removeSessionListener, removeValue, setAuthType, setBeKey, setCreationTime, setLastAccessedTime, setManager, setMaxInactiveInterval, setNew, setNote, setSessionLock, setSipApplicationSessionId, setSsoId, setSsoVersion, setValid, setVersion, tellNew, unlockBackground, unlockForeground, unlockForegroundCompletelyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSsoId, incrementVersion, setSsoId, setVersionaccess, addSessionListener, endAccess, expire, getAttributes, getAuthType, getCreationTime, getId, getIdInternal, getInfo, getIsValid, getLastAccessedTime, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getSsoVersion, getVersion, hasExpired, isValid, lockForeground, removeNote, removeSessionListener, setAuthType, setCreationTime, setManager, setMaxInactiveInterval, setNew, setNote, setSsoVersion, setValid, unlockForegroundpublic FullHASession(Manager manager)
manager - public boolean isDirty()
isDirty in interface HASessionisDirty in class BaseHASessionpublic void setDirty(boolean isDirty)
setDirty in interface HASessionsetDirty in class BaseHASessionisDirty - public void removeAttribute(String name)
StandardSession
After this method executes, and if the object implements
HttpSessionBindingListener, the container calls
valueUnbound() on the object.
removeAttribute in interface javax.servlet.http.HttpSessionremoveAttribute in class StandardSessionname - Name of the object to remove from this session.public void setAttribute(String name, Object value)
StandardSession
After this method executes, and if the object implements
HttpSessionBindingListener, the container calls
valueBound() on the object.
setAttribute in interface javax.servlet.http.HttpSessionsetAttribute in class StandardSessionname - Name to which the object is bound, cannot be nullvalue - Object to be bound, cannot be nullpublic Object getAttribute(String name)
StandardSessionnull if no object is bound with that name.getAttribute in interface javax.servlet.http.HttpSessiongetAttribute in class StandardSessionname - Name of the attribute to be returned
* @exception IllegalStateException if this method is called on an
invalidated sessionCopyright © 2019. All rights reserved.