Interface RequestHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RequestHandler
    • Method Detail

      • handleRequest

        void handleRequest​(HttpServletRequest req,
                           HttpServletResponse resp,
                           ServletContext ctx)
                    throws ServletException,
                           java.io.IOException
        Method called by the the WebDAV servlet to handle a WebDAV request.
        Parameters:
        req - the HTTP request to handle which contains the delegator, dispatcher}, Security attributes
        resp - the HTTP response to send
        ctx - the context of the current servlet
        Throws:
        ServletException - if servlet execution failed
        java.io.IOException - if communication with the HTTP request/response buffers failed