content
protected final io.netty.buffer.ByteBuf content
io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpResponse, io.netty.util.ReferenceCountedFlatFullHttpResponse
Optimized HttpResponse implementation.
protected final io.netty.buffer.ByteBufprotected io.netty.handler.codec.http.HttpHeadersprotected io.netty.handler.codec.DecoderResultprotected io.netty.handler.codec.http.HttpResponseStatusprotected io.netty.handler.codec.http.HttpVersionFlatHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.handler.codec.http.HttpHeaders headers,
boolean empty) FlatHttpResponse(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpResponseStatus status,
io.netty.handler.codec.http.HttpHeaders headers,
io.netty.buffer.ByteBuf content) io.netty.buffer.ByteBufcontent()copy()io.netty.handler.codec.DecoderResultio.netty.handler.codec.DecoderResultio.netty.handler.codec.http.HttpVersionio.netty.handler.codec.http.HttpResponseStatusio.netty.handler.codec.http.HttpHeadersheaders()booleanisEmpty()io.netty.handler.codec.http.HttpVersionintrefCnt()booleanrelease()booleanrelease(int decrement) replace(io.netty.buffer.ByteBuf content) retain()retain(int increment) voidsetDecoderResult(io.netty.handler.codec.DecoderResult result) setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) setStatus(io.netty.handler.codec.http.HttpResponseStatus status) io.netty.handler.codec.http.HttpResponseStatusstatus()touch()Creates a flat HTTP response.
version - the HTTP versionstatus - the HTTP response statusheaders - the HTTP headersempty - true to create an empty response, false otherwiseCreates a flat HTTP response.
version - the HTTP versionstatus - the HTTP response statusheaders - the HTTP headerscontent - the response contentDetermines whether the reponse is empty.
getProtocolVersion in interface io.netty.handler.codec.http.HttpMessageprotocolVersion in interface io.netty.handler.codec.http.HttpMessageheaders in interface io.netty.handler.codec.http.HttpMessagegetDecoderResult in interface io.netty.handler.codec.http.HttpObjectdecoderResult in interface io.netty.handler.codec.DecoderResultProvidersetDecoderResult in interface io.netty.handler.codec.DecoderResultProvidercontent in interface io.netty.buffer.ByteBufHolderrefCnt in interface io.netty.util.ReferenceCountedrelease in interface io.netty.util.ReferenceCountedrelease in interface io.netty.util.ReferenceCountedcopy in interface io.netty.buffer.ByteBufHoldercopy in interface io.netty.handler.codec.http.HttpContentduplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface io.netty.handler.codec.http.HttpContentretainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in interface io.netty.handler.codec.http.HttpContentreplace in interface io.netty.buffer.ByteBufHolderreplace in interface io.netty.handler.codec.http.HttpContentretain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.handler.codec.http.HttpContentretain in interface io.netty.util.ReferenceCountedretain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.handler.codec.http.HttpContentretain in interface io.netty.util.ReferenceCountedtouch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.handler.codec.http.HttpContenttouch in interface io.netty.util.ReferenceCountedtouch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.handler.codec.http.HttpContenttouch in interface io.netty.util.ReferenceCountedgetStatus in interface io.netty.handler.codec.http.HttpResponsestatus in interface io.netty.handler.codec.http.HttpResponsesetStatus in interface io.netty.handler.codec.http.HttpResponsesetProtocolVersion in interface io.netty.handler.codec.http.HttpMessagesetProtocolVersion in interface io.netty.handler.codec.http.HttpResponse