org.eclipse.jetty.server.session

Class HashSessionIdManager

    • Constructor Detail

      • HashSessionIdManager

        public HashSessionIdManager()
      • HashSessionIdManager

        public HashSessionIdManager(Random random)
    • Method Detail

      • getSessions

        public Collection<String> getSessions()
        Returns:
        Collection of String session IDs
      • getSession

        public Collection<javax.servlet.http.HttpSession> getSession(String id)
        Returns:
        Collection of Sessions for the passed session ID
      • getNodeId

        public String getNodeId(String clusterId,               javax.servlet.http.HttpServletRequest request)
        Get the session ID with any worker ID.
        Parameters:
        clusterId -
        request -
        Returns:
        sessionId plus any worker ID.
      • getClusterId

        public String getClusterId(String nodeId)
        Get the session ID without any worker ID.
        Parameters:
        nodeId - the node id
        Returns:
        sessionId without any worker ID.
      • idInUse

        public boolean idInUse(String id)
        Parameters:
        id - The session ID without any cluster node extension
        Returns:
        True if the session ID is in use by at least one context.
        See Also:
        SessionIdManager.idInUse(String)

Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14