Interface HttpSessionAdministration


  • public interface HttpSessionAdministration
    Administration interface for the HttpSession.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • invalidate

        void invalidate​(boolean isRequireNewSession)
                 throws java.lang.Throwable
        Triggers invalidating the HttpSession.
        Parameters:
        isRequireNewSession - true to have a new HttpSession created.
        Throws:
        java.lang.Throwable - If immediate failure in invalidating the HttpSession.
      • store

        void store()
            throws java.lang.Throwable
        Triggers storing the HttpSession.
        Throws:
        java.lang.Throwable - If immediate failure in storing the HttpSession.
      • isOperationComplete

        boolean isOperationComplete()
                             throws java.lang.Throwable

        Indicates if the invalidate or store operation are complete.

        As is an AsynchronousManagedObject, the next time a new ManagedFunction is run the operation should be complete. This method enables determining if completed immediately and there were no failures of the operation.

        Returns:
        true if the invalidate or store operation is complete.
        Throws:
        java.lang.Throwable - Possible failure in invalidating or storing the HttpSession.