Class InfinispanSessionData

java.lang.Object
org.eclipse.jetty.server.session.SessionData
org.eclipse.jetty.session.infinispan.InfinispanSessionData
All Implemented Interfaces:
Serializable

public class InfinispanSessionData extends SessionData
InfinispanSessionData Specialization of SessionData to hold the attributes as a serialized byte array. This is necessary because to deserialize the attributes correctly, we need to know which classloader to use, which is normally provided as the thread context classloader. However, infinispan marshalling uses a thread pool and thus these threads have no knowledge of the correct classloader to use.
See Also:
  • Field Details

    • _serializedAttributes

      protected byte[] _serializedAttributes
  • Constructor Details

    • InfinispanSessionData

      public InfinispanSessionData(String id, String cpath, String vhost, long created, long accessed, long lastAccessed, long maxInactiveMs)
    • InfinispanSessionData

      public InfinispanSessionData(String id, String cpath, String vhost, long created, long accessed, long lastAccessed, long maxInactiveMs, Map<String,Object> attributes)
  • Method Details