Package com.iizix.server.api
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.
Simple interface that can be added to interact with a URL in order to produce a very simple reply to a servlet request.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
print
(PortConfig portConfig, PrintWriter pw, String root, String target, HttpServletRequest request, HttpServletResponse response) Print the page output.
Method Details
print
void print(PortConfig portConfig, PrintWriter pw, String root, String target, HttpServletRequest request, HttpServletResponse response) throws IOException Print the page output.- Parameters:
portConfig
- The port configuration.pw
- The print writer.root
- The web server root.target
- Target page URI.request
- The request.response
- The response.- Throws:
IOException
- For I/O errors.