public abstract class ResponseWriter extends Object
Constructor and Description |
---|
ResponseWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
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 void addConnectionHeader(HttpRequest request, HttpResponse response)
Copyright © 2018. All rights reserved.