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()
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, trailingHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProtocolVersion, headerstrailingHeadersgetDecoderResult, 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 HttpContentduplicate in class HttpObjectAggregator.AggregatedFullHttpMessagepublic 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 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()
HttpRequestHttpMethod of this HttpRequest.getMethod in interface HttpRequestHttpMethod of this HttpRequestpublic java.lang.String getUri()
HttpRequestgetUri 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