private static final class HttpObjectAggregator.AggregatedFullHttpRequest extends HttpObjectAggregator.AggregatedFullHttpMessage implements FullHttpRequest
messageEMPTY_LAST_CONTENT| Constructor and Description |
|---|
AggregatedFullHttpRequest(HttpRequest request,
ByteBuf content,
HttpHeaders trailingHeaders) |
| Modifier and Type | Method and Description |
|---|---|
FullHttpRequest |
copy()
Creates a deep copy of this
ByteBufHolder. |
FullHttpRequest |
duplicate()
Duplicates this
ByteBufHolder. |
HttpMethod |
getMethod() |
java.lang.String |
getUri() |
HttpMethod |
method()
Returns the
HttpMethod of this HttpRequest. |
FullHttpRequest |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
FullHttpRequest |
retain()
Increases the reference count by
1. |
FullHttpRequest |
retain(int increment)
Increases the reference count by the specified
increment. |
FullHttpRequest |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
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() |
FullHttpRequest |
touch()
Records the current access location of this object for debugging purposes.
|
FullHttpRequest |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
java.lang.String |
uri()
Returns the requested URI (or alternatively, path)
|
content, decoderResult, getDecoderResult, getProtocolVersion, headers, protocolVersion, refCnt, release, release, setDecoderResult, setTrailingHeaders, trailingHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProtocolVersion, headers, protocolVersiontrailingHeadersgetDecoderResultdecoderResult, setDecoderResultcontentrefCnt, release, releaseAggregatedFullHttpRequest(HttpRequest request, ByteBuf content, HttpHeaders trailingHeaders)
public FullHttpRequest copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface FullHttpRequestcopy in interface HttpContentcopy in interface LastHttpContentcopy in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface FullHttpMessageduplicate in interface FullHttpRequestduplicate in interface HttpContentduplicate in interface LastHttpContentduplicate in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface FullHttpMessageretainedDuplicate in interface FullHttpRequestretainedDuplicate in interface HttpContentretainedDuplicate in interface LastHttpContentretainedDuplicate in class HttpObjectAggregator.AggregatedFullHttpMessageByteBuf.retainedDuplicate()public FullHttpRequest replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface FullHttpMessagereplace in interface FullHttpRequestreplace in interface HttpContentreplace in interface LastHttpContentpublic FullHttpRequest retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface FullHttpRequestretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedretain in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface FullHttpRequestretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedretain in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface FullHttpRequesttouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedtouch in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface FullHttpRequesttouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedtouch in class HttpObjectAggregator.AggregatedFullHttpMessagepublic FullHttpRequest setMethod(HttpMethod method)
HttpRequestHttpMethod of this HttpRequest.setMethod in interface FullHttpRequestsetMethod in interface HttpRequestpublic FullHttpRequest setUri(java.lang.String uri)
HttpRequestsetUri in interface FullHttpRequestsetUri in interface HttpRequestpublic HttpMethod getMethod()
getMethod in interface HttpRequestpublic java.lang.String getUri()
getUri in interface HttpRequestpublic HttpMethod method()
HttpRequestHttpMethod of this HttpRequest.method in interface HttpRequestHttpMethod of this HttpRequestpublic java.lang.String uri()
HttpRequesturi in interface HttpRequestpublic FullHttpRequest setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface FullHttpRequestsetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpRequestsetProtocolVersion in class HttpObjectAggregator.AggregatedFullHttpMessagepublic java.lang.String toString()
toString in class java.lang.Object