Package com.soklet.web.response.writer
Interface ResponseWriter<T>
- All Known Subinterfaces:
ApiResponseWriter
,BinaryResponseWriter
,PageResponseWriter
,RedirectResponseWriter
- All Known Implementing Classes:
DefaultApiResponseWriter
,DefaultBinaryResponseWriter
,DefaultPageResponseWriter
,DefaultRedirectResponseWriter
public interface ResponseWriter<T>
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeResponse
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<T> response, Optional<Route> route, Optional<Exception> exception)
-
Method Details
-
writeResponse
void writeResponse(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Optional<T> response, Optional<Route> route, Optional<Exception> exception) throws IOException - Throws:
IOException
-