Interface SessionManagementStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()
      Removes all sessions.
      Collection<javax.servlet.http.HttpSession> getAll()
      Returns a collection containing all sessions.
      javax.servlet.http.HttpSession remove​(String id)
      The unique identifier for the session to remove.
      void store​(javax.servlet.http.HttpSession session)
      Stores the given session.
    • Method Detail

      • clear

        void clear()
        Removes all sessions.
      • getAll

        Collection<javax.servlet.http.HttpSession> getAll()
        Returns a collection containing all sessions.
        Returns:
        a Collection of all known HttpSessions, if any; an empty Collection otherwise
      • store

        void store​(javax.servlet.http.HttpSession session)
        Stores the given session.
        Parameters:
        session - the HttpSession to store (required)
      • remove

        javax.servlet.http.HttpSession remove​(String id)
        The unique identifier for the session to remove.
        Parameters:
        id - the unique identifier for the session to remove (required)
        Returns:
        the HttpSession if it exists; null otherwise