Interface IWebServerRequestPrinter

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

    public interface IWebServerRequestPrinter
    Simple interface that can be added to interact with a URL in order to produce a very simple reply to a servlet request.
    Christopher Mindus
    • Method Detail

      • print

        void print​( pw,
                   java.lang.String root,
                   java.lang.String target,
                   HttpServletRequest request,
                   HttpServletResponse response)
        Print the page output.
        pw - The print writer.
        root - The web server root.
        target - Target page.
        request - The request.
        response - The response.
        Throws: - For I/O errors.