Class Session

  • All Implemented Interfaces:
    HttpSession, SessionHandler.SessionIf

    public class Session
    extends java.lang.Object
    implements SessionHandler.SessionIf
    Session A heavy-weight Session object representing an HttpSession. Session objects relating to a context are kept in a SessionCache. The purpose of the SessionCache is to keep the working set of Session objects in memory so that they may be accessed quickly, and facilitate the sharing of a Session object amongst multiple simultaneous requests referring to the same session id. The SessionHandler coordinates the lifecycle of Session objects with the help of the SessionCache.
    See Also:
    SessionHandler, SessionIdManager