Class LiferayDeltaSession
java.lang.Object
org.apache.catalina.session.StandardSession
org.apache.catalina.ha.session.DeltaSession
com.liferay.support.tomcat.session.LiferayDeltaSession
- All Implemented Interfaces:
jakarta.servlet.http.HttpSession,Externalizable,Serializable,org.apache.catalina.ha.ClusterSession,org.apache.catalina.Session,org.apache.catalina.tribes.tipis.ReplicatedMapEntry
public class LiferayDeltaSession
extends org.apache.catalina.ha.session.DeltaSession
- Author:
- Shuyang Zhou
- See Also:
-
Field Summary
Fields inherited from class org.apache.catalina.ha.session.DeltaSession
diffLock, log, smFields inherited from class org.apache.catalina.session.StandardSession
accessCount, activityCheck, attributes, authType, creationTime, EMPTY_ARRAY, expiring, facade, id, isNew, isValid, lastAccessAtStart, lastAccessedTime, listeners, manager, maxInactiveInterval, notes, principal, support, thisAccessedTimeFields inherited from interface org.apache.catalina.Session
SESSION_ACTIVATED_EVENT, SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT, SESSION_PASSIVATED_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.catalina.ha.session.DeltaRequestcreateRequest(String sessionId, boolean recordAllActions) voidreadObjectData(ObjectInputStream objectInputStream) voidwriteObjectData(ObjectOutputStream objectOutputStream) Methods inherited from class org.apache.catalina.ha.session.DeltaSession
accessEntry, addSessionListener, addSessionListener, applyDiff, deserializeAndExecuteDeltaRequest, doReadObject, doWriteObject, endAccess, expire, expire, getClassLoaders, getDeltaRequest, getDiff, getLastTimeReplicated, getVersion, isAccessReplicate, isDiffable, isDirty, isPrimarySession, isValid, lock, readExternal, readObjectData, recycle, removeAttribute, removeAttribute, removeAttributeInternal, removeNote, removeNote, removeSessionListener, removeSessionListener, resetDeltaRequest, resetDiff, setAccessCount, setAttribute, setAttribute, setAuthType, setAuthType, setId, setId, setLastTimeReplicated, setMaxInactiveInterval, setMaxInactiveInterval, setNew, setNew, setNote, setNote, setOwner, setPrimarySession, setPrincipal, setPrincipal, setVersion, toString, unlock, writeExternal, writeObjectDataMethods inherited from class org.apache.catalina.session.StandardSession
access, activate, exclude, expire, fireSessionEvent, getAttribute, getAttributeNames, getAuthType, getCreationTime, getCreationTimeInternal, getId, getIdInternal, getIdleTime, getIdleTimeInternal, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getServletContext, getSession, getThisAccessedTime, getThisAccessedTimeInternal, invalidate, isAttributeDistributable, isNew, isValidInternal, keys, passivate, removeAttribute, removeAttributeInternal, setAttribute, setCreationTime, setManager, setValid, tellChangedSessionId, tellNewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.servlet.http.HttpSession
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, invalidate, isNew, removeAttributeMethods inherited from interface org.apache.catalina.Session
access, expire, getAuthType, getCreationTime, getCreationTimeInternal, getId, getIdInternal, getIdleTime, getIdleTimeInternal, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getThisAccessedTime, getThisAccessedTimeInternal, isAttributeDistributable, setCreationTime, setManager, setValid, tellChangedSessionId
-
Constructor Details
-
LiferayDeltaSession
public LiferayDeltaSession() -
LiferayDeltaSession
public LiferayDeltaSession(org.apache.catalina.Manager manager)
-
-
Method Details
-
readObjectData
public void readObjectData(ObjectInputStream objectInputStream) throws ClassNotFoundException, IOException - Overrides:
readObjectDatain classorg.apache.catalina.ha.session.DeltaSession- Throws:
ClassNotFoundExceptionIOException
-
writeObjectData
- Overrides:
writeObjectDatain classorg.apache.catalina.ha.session.DeltaSession- Throws:
IOException
-
createRequest
protected org.apache.catalina.ha.session.DeltaRequest createRequest(String sessionId, boolean recordAllActions) - Overrides:
createRequestin classorg.apache.catalina.ha.session.DeltaSession
-