Class AjaxRequestProcessor

    • Constructor Detail

      • AjaxRequestProcessor

        public AjaxRequestProcessor()
    • Method Detail

      • processRequest

        public void processRequest​(@NotNull
                                   javax.servlet.http.HttpServletRequest request,
                                   @NotNull
                                   javax.servlet.http.HttpServletResponse response,
                                   @NotNull
                                   AjaxRequestProcessor.RequestHandler handler)
        Should be called for each incoming AJAX request. A new XML response will be created and passed to AjaxRequestProcessor.RequestHandler. After the handler finishes XML response will be written to HTTP servlet response.
        This processor also provides unified mechanism for processing some exceptions, like AccessDeniedException.
        Parameters:
        request - HTTP request
        response - response
        handler - request handler