public class ServletResponseWriter extends ResponseWriter
Constructor and Description |
---|
ServletResponseWriter(javax.servlet.http.HttpServletResponse httpServletResponse) |
Modifier and Type | Method and Description |
---|---|
void |
writeResponse(HttpRequest request,
HttpResponse response,
boolean apiResponse) |
void |
writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus) |
void |
writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus,
String body,
String contentType) |
addConnectionHeader
public ServletResponseWriter(javax.servlet.http.HttpServletResponse httpServletResponse)
public void writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus)
writeResponse
in class ResponseWriter
public void writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus, String body, String contentType)
writeResponse
in class ResponseWriter
public void writeResponse(HttpRequest request, HttpResponse response, boolean apiResponse)
writeResponse
in class ResponseWriter
Copyright © 2018. All rights reserved.