Interface SessionManager


@Deprecated public interface SessionManager
Deprecated.
A SessionFactory is responsible to create a new type of Session.

This allows users to extends the default OpenIG behaviour quite easily.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    load(Request request)
    Deprecated.
    Loads a new Session for the given Request.
    void
    save(Session session, Response response)
    Deprecated.
    Saves the session into the provided response.
  • Method Details

    • load

      Session load(Request request)
      Deprecated.
      Loads a new Session for the given Request. The implementations are free to keep a reference to the Request.

      The session object is scoped by the Request's own lifecycle.

      Parameters:
      request - Request to create a session for.
      Returns:
      a new Session instance.
    • save

      void save(Session session, Response response) throws IOException
      Deprecated.
      Saves the session into the provided response.
      Parameters:
      session - The session to save.
      response - The response to save the session to.
      Throws:
      IOException - If the session could not be saved to the response.