private static final class HttpObjectAggregator.AggregatedFullHttpRequest extends HttpObjectAggregator.AggregatedFullHttpMessage implements FullHttpRequest
message
EMPTY_LAST_CONTENT
Constructor and Description |
---|
AggregatedFullHttpRequest(HttpRequest request,
ByteBuf content,
HttpHeaders trailingHeaders) |
Modifier and Type | Method and Description |
---|---|
FullHttpRequest |
copy()
Create a deep copy of this
ByteBufHolder . |
FullHttpRequest |
duplicate()
Duplicate the
ByteBufHolder . |
HttpMethod |
getMethod()
Returns the
HttpMethod of this HttpRequest . |
java.lang.String |
getUri()
Returns the requested URI (or alternatively, path)
|
FullHttpRequest |
retain()
Increases the reference count by
1 . |
FullHttpRequest |
retain(int increment)
Increases the reference count by the specified
increment . |
FullHttpRequest |
setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest . |
FullHttpRequest |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpRequest |
setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
java.lang.String |
toString() |
content, getDecoderResult, getProtocolVersion, headers, refCnt, release, release, setDecoderResult, setTrailingHeaders, trailingHeaders
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProtocolVersion, headers
trailingHeaders
getDecoderResult, setDecoderResult
content
refCnt, release, release
AggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders)
public FullHttpRequest copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface FullHttpMessage
copy
in interface FullHttpRequest
copy
in interface HttpContent
copy
in interface LastHttpContent
copy
in class HttpObjectAggregator.AggregatedFullHttpMessage
public FullHttpRequest duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface HttpContent
duplicate
in class HttpObjectAggregator.AggregatedFullHttpMessage
public FullHttpRequest retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface FullHttpRequest
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
retain
in class HttpObjectAggregator.AggregatedFullHttpMessage
public FullHttpRequest retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface FullHttpRequest
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
retain
in class HttpObjectAggregator.AggregatedFullHttpMessage
public FullHttpRequest setMethod(HttpMethod method)
HttpRequest
HttpMethod
of this HttpRequest
.setMethod
in interface FullHttpRequest
setMethod
in interface HttpRequest
public FullHttpRequest setUri(java.lang.String uri)
HttpRequest
setUri
in interface FullHttpRequest
setUri
in interface HttpRequest
public HttpMethod getMethod()
HttpRequest
HttpMethod
of this HttpRequest
.getMethod
in interface HttpRequest
HttpMethod
of this HttpRequest
public java.lang.String getUri()
HttpRequest
getUri
in interface HttpRequest
public FullHttpRequest setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
in interface FullHttpRequest
setProtocolVersion
in interface HttpMessage
setProtocolVersion
in interface HttpRequest
setProtocolVersion
in class HttpObjectAggregator.AggregatedFullHttpMessage
public java.lang.String toString()
toString
in class java.lang.Object