Interface StoreHttpSessionOperation


  • public interface StoreHttpSessionOperation
    Operation to obtain details of storing the HttpSession within the HttpSessionStore.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • getSessionId

        java.lang.String getSessionId()
        Obtains the session Id of the HttpSession to store.
        Returns:
        Session Id of the HttpSession to store.
      • getCreationTime

        java.time.Instant getCreationTime()
        Obtains the creation time for the HttpSession.
        Returns:
        Creation time for the HttpSession.
      • getExpireTime

        java.time.Instant getExpireTime()
        Obtains the time to expire the HttpSession should it be idle.
        Returns:
        Time to expire the HttpSession should it be idle.
      • getAttributes

        java.util.Map<java.lang.String,​java.io.Serializable> getAttributes()
        Obtains the attributes of the HttpSession.
        Returns:
        Attributes of the HttpSession.
      • failedToStoreSession

        void failedToStoreSession​(java.lang.Throwable cause)
        Flags failed to store the HttpSession within the HttpSessionStore.
        Parameters:
        cause - Cause of the failure.