Interface CreateHttpSessionOperation

  • public interface CreateHttpSessionOperation
    Operation to obtain details of creating a new HttpSession within the HttpSessionStore.
    Daniel Sagenschneider
    • Method Detail

      • getSessionId

        java.lang.String getSessionId()
        Obtains the session Id of the new HttpSession.
        Session Id of the new HttpSession.
      • sessionCreated

        void sessionCreated​(java.time.Instant creationTime,
                            java.time.Instant expireTime,
                            java.util.Map<java.lang.String,​> attributes)
        Flags that the HttpSession was successfully created within the HttpSessionStore.
        creationTime - Time the HttpSession was created within the HttpSessionStore.
        expireTime - Time to expire the HttpSession should it be idle.
        attributes - Map to contain the HttpSession attributes.
      • sessionIdCollision

        void sessionIdCollision()
        Flags that the session Id is the same as another HttpSession within the HttpSessionStore.
      • failedToCreateSession

        void failedToCreateSession​(java.lang.Throwable cause)
        Flags that failed to create the HttpSession within the HttpSessionStore.
        cause - Cause of the failure.