Package com.soklet.web.response.writer
Class DefaultPageResponseWriter
java.lang.Object
com.soklet.web.response.writer.DefaultPageResponseWriter
- All Implemented Interfaces:
PageResponseWriter
,ResponseWriter<PageResponse>
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeResponse
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<PageResponse> response, Optional<Route> route, Optional<Exception> exception)
-
Constructor Details
-
DefaultPageResponseWriter
public DefaultPageResponseWriter()
-
-
Method Details
-
writeResponse
public void writeResponse(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<PageResponse> response, Optional<Route> route, Optional<Exception> exception) throws IOException - Specified by:
writeResponse
in interfaceResponseWriter<PageResponse>
- Throws:
IOException
-