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