Class SessionRequestHandler

  • All Implemented Interfaces:
    RequestHandler

    public class SessionRequestHandler
    extends Object
    implements RequestHandler
    Responsible for processing a PLL request and routing it to the appropriate handler which will respond to the caller the results of the operation. The operations available from this handler split into two broad categories: In the first group, the request is targeting either all LOCAL sessions or a single local session identified by another request parameter. The session ID in this case is only used to authenticate the operation. That session is not expected to be local to this server (although it might). These operations are:
    • GetValidSessions
    • GetSessionCount
    In the second group, the request is targeting a single session identified by a session ID, which is supposed to be hosted by this server instance. The session ID is used both as an id for the target session and to authenticate the operation (i.e. operations are performed on the callers own session). The operations in this group are:
    • GetSession
    • Logout
    • AddSessionListener
    • SetProperty
    • DestroySession
    • Constructor Detail

      • SessionRequestHandler

        public SessionRequestHandler()
    • Method Detail

      • process

        public ResponseSet process​(PLLAuditor auditor,
                                   List<Request> requests,
                                   jakarta.servlet.http.HttpServletRequest servletRequest,
                                   jakarta.servlet.http.HttpServletResponse servletResponse,
                                   jakarta.servlet.ServletContext servletContext)
        Description copied from interface: RequestHandler
        This interface must be implemented by high level services and applications in order to receive requests from the Platform Low Level API.
        Specified by:
        process in interface RequestHandler
        Parameters:
        auditor - Delegate for publication of 'access' audit events.
        requests - A Set of Request objects.
        servletRequest - Reference to HttpServletRequest object.
        servletResponse - Reference to HttpServletResponse object.
        servletContext - Reference to ServletContext object.