Interface CreateHttpSessionOperation


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

      • getSessionId

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

        void sessionCreated​(java.time.Instant creationTime,
                            java.time.Instant expireTime,
                            java.util.Map<java.lang.String,​java.io.Serializable> attributes)
        Flags that the HttpSession was successfully created within the HttpSessionStore.
        Parameters:
        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.
        Parameters:
        cause - Cause of the failure.