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