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 SummaryModifier and TypeMethodDescription- void- print- (PrintWriter pw, String root, String target, HttpServletRequest request, HttpServletResponse response) Print the page output.
- Method Details- printvoid print- (PrintWriter pw, String root, String target, HttpServletRequest request, HttpServletResponse response) throws IOException Print the page output.- Parameters:
- pw- The print writer.
- root- The web server root.
- target- Target page.
- request- The request.
- response- The response.
- Throws:
- IOException- For I/O errors.