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()
Creates a deep copy of this
ByteBufHolder. |
FullHttpRequest |
duplicate()
Duplicates this
ByteBufHolder. |
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(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 additional arbitrary information for debugging
purposes.
|
getMethod, getUri, method, urigetProtocolVersion, headers, protocolVersiontrailingHeadersgetDecoderResultdecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpRequest copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy in interface LastHttpContentFullHttpRequest 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 retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface FullHttpMessageretainedDuplicate in interface HttpContentretainedDuplicate in interface LastHttpContentByteBuf.retainedDuplicate()FullHttpRequest replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface FullHttpMessagereplace in interface HttpContentreplace 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 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–2025 The Netty Project. All rights reserved.