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, sm

    Fields 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, thisAccessedTime

    Fields inherited from interface org.apache.catalina.Session

    SESSION_ACTIVATED_EVENT, SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT, SESSION_PASSIVATED_EVENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    LiferayDeltaSession(org.apache.catalina.Manager manager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.catalina.ha.session.DeltaRequest
    createRequest(String sessionId, boolean recordAllActions)
     
    void
    readObjectData(ObjectInputStream objectInputStream)
     
    void
    writeObjectData(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, writeObjectData

    Methods 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, tellNew

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface jakarta.servlet.http.HttpSession

    getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, invalidate, isNew, removeAttribute

    Methods 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:
      readObjectData in class org.apache.catalina.ha.session.DeltaSession
      Throws:
      ClassNotFoundException
      IOException
    • writeObjectData

      public void writeObjectData(ObjectOutputStream objectOutputStream) throws IOException
      Overrides:
      writeObjectData in class org.apache.catalina.ha.session.DeltaSession
      Throws:
      IOException
    • createRequest

      protected org.apache.catalina.ha.session.DeltaRequest createRequest(String sessionId, boolean recordAllActions)
      Overrides:
      createRequest in class org.apache.catalina.ha.session.DeltaSession