Class RequestHandler

    • Constructor Detail

      • RequestHandler

        public RequestHandler()
    • Method Detail

      • getName

        public abstract String getName()
      • isUnfiltrable

        public boolean isUnfiltrable()
      • start

        public void start​(ApplicationContext ctx)
        Initialises the handler.
        Parameters:
        ctx - the servlet context of the managed app.
      • handleRequest

        public void handleRequest​(RequestEvent e)
        Invoked when the container receives a request for a servlet of a managed app.
        Parameters:
        pipeline - the pipeline in which this handler is registered
        e - the event
      • handleResponse

        public void handleResponse​(ResponseEvent e)
        Invoked when a servlet of a managed app has produced a response to a request.
        Parameters:
        pipeline - the pipeline in which this handler is registered
        e - the event
      • stop

        public void stop()
        Terminates the handler.