public abstract class ResponseWriter extends Object
Constructor and Description |
---|
ResponseWriter() |
Modifier and Type | Method and Description |
---|---|
protected HttpResponse |
addConnectionHeader(HttpRequest request,
HttpResponse response) |
abstract void |
writeResponse(HttpRequest request,
HttpResponse response,
boolean apiResponse) |
abstract void |
writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus) |
abstract void |
writeResponse(HttpRequest request,
io.netty.handler.codec.http.HttpResponseStatus responseStatus,
String body,
String contentType) |
public abstract void writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus)
public abstract void writeResponse(HttpRequest request, io.netty.handler.codec.http.HttpResponseStatus responseStatus, String body, String contentType)
public abstract void writeResponse(HttpRequest request, HttpResponse response, boolean apiResponse)
protected HttpResponse addConnectionHeader(HttpRequest request, HttpResponse response)
Copyright © 2020. All rights reserved.