public interface FullHttpRequest extends HttpRequest, FullHttpMessage
HttpRequest and FullHttpMessage, so the request is a complete HTTP request.EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
FullHttpRequest |
copy()
Create a deep copy of this
ByteBufHolder. |
FullHttpRequest |
copy(ByteBuf newContent)
Create a copy of this
FullHttpMessage with alternative content. |
FullHttpRequest |
duplicate()
Duplicate the
ByteBufHolder. |
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(String uri)
Set the requested URI (or alternatively, path)
|
FullHttpRequest |
touch()
Records the current access location of this object for debugging purposes.
|
FullHttpRequest |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
method, uriheaders, protocolVersiontrailingHeadersdecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpRequest copy(ByteBuf newContent)
FullHttpMessageFullHttpMessage with alternative content.copy in interface FullHttpMessagenewContent - The buffer to use instead of this FullHttpMessage's content in the copy operation.
NOTE: retain will NOT be called on this buffer. null results in an empty default choice buffer.
FullHttpRequest copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy in interface LastHttpContentFullHttpRequest retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpRequest retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpRequest touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpRequest touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpRequest duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface FullHttpMessageduplicate in interface HttpContentduplicate in interface LastHttpContentFullHttpRequest setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpRequestFullHttpRequest setMethod(HttpMethod method)
HttpRequestHttpMethod of this HttpRequest.setMethod in interface HttpRequestFullHttpRequest setUri(String uri)
HttpRequestsetUri in interface HttpRequestCopyright © 2008–2015 The Netty Project. All rights reserved.