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.HttpRequest, io.netty.util.ReferenceCountedFlatFullHttpRequest
Optimized HttpResponse implementation.
protected final io.netty.buffer.ByteBufprotected io.netty.handler.codec.http.HttpHeadersprotected io.netty.handler.codec.http.HttpMethodprotected io.netty.handler.codec.DecoderResultprotected Stringprotected io.netty.handler.codec.http.HttpVersionFlatHttpRequest(io.netty.buffer.ByteBuf content) FlatHttpRequest(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpMethod method,
String uri,
io.netty.handler.codec.http.HttpHeaders headers,
boolean empty) FlatHttpRequest(io.netty.handler.codec.http.HttpVersion version,
io.netty.handler.codec.http.HttpMethod method,
String uri,
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.HttpMethodio.netty.handler.codec.http.HttpVersiongetUri()io.netty.handler.codec.http.HttpHeadersheaders()booleanisEmpty()io.netty.handler.codec.http.HttpMethodmethod()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) io.netty.handler.codec.http.HttpRequestsetMethod(io.netty.handler.codec.http.HttpMethod method) io.netty.handler.codec.http.HttpRequestsetProtocolVersion(io.netty.handler.codec.http.HttpVersion version) io.netty.handler.codec.http.HttpRequesttouch()uri()Creates a flat HTTP request.
content - the request contentCreates a flat HTTP request.
version - the HTTP versionmethod - the HTTP methoduri - the request URIheaders - the HTTP headersempty - true to create an empty request, false otherwiseCreates a flat HTTP request.
version - the HTTP versionmethod - the HTTP methoduri - the request URIheaders - the HTTP headerscontent - the request contentDetermines whether the request is empty.
getMethod in interface io.netty.handler.codec.http.HttpRequestmethod in interface io.netty.handler.codec.http.HttpRequestsetMethod in interface io.netty.handler.codec.http.HttpRequestgetUri in interface io.netty.handler.codec.http.HttpRequesturi in interface io.netty.handler.codec.http.HttpRequestsetUri in interface io.netty.handler.codec.http.HttpRequestsetProtocolVersion in interface io.netty.handler.codec.http.HttpMessagesetProtocolVersion in interface io.netty.handler.codec.http.HttpRequestgetProtocolVersion 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.ReferenceCounted