public interface FullHttpRequest extends HttpRequest, FullHttpMessage
HttpRequest
and FullHttpMessage
, so the request is a complete HTTP
request.EMPTY_LAST_CONTENT
限定符和类型 | 方法和说明 |
---|---|
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(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
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.
|
getMethod, getUri, method, uri
getProtocolVersion, headers, protocolVersion
trailingHeaders
getDecoderResult
decoderResult, setDecoderResult
content
refCnt, release, release
FullHttpRequest copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 FullHttpMessage
copy
在接口中 HttpContent
copy
在接口中 LastHttpContent
FullHttpRequest duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 FullHttpMessage
duplicate
在接口中 HttpContent
duplicate
在接口中 LastHttpContent
FullHttpRequest retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 FullHttpMessage
retainedDuplicate
在接口中 HttpContent
retainedDuplicate
在接口中 LastHttpContent
ByteBuf.retainedDuplicate()
FullHttpRequest replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 FullHttpMessage
replace
在接口中 HttpContent
replace
在接口中 LastHttpContent
FullHttpRequest retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 FullHttpMessage
retain
在接口中 HttpContent
retain
在接口中 LastHttpContent
retain
在接口中 ReferenceCounted
FullHttpRequest retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 FullHttpMessage
retain
在接口中 HttpContent
retain
在接口中 LastHttpContent
retain
在接口中 ReferenceCounted
FullHttpRequest touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 FullHttpMessage
touch
在接口中 HttpContent
touch
在接口中 LastHttpContent
touch
在接口中 ReferenceCounted
FullHttpRequest touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 FullHttpMessage
touch
在接口中 HttpContent
touch
在接口中 LastHttpContent
touch
在接口中 ReferenceCounted
FullHttpRequest setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
在接口中 HttpMessage
setProtocolVersion
在接口中 HttpRequest
FullHttpRequest setMethod(HttpMethod method)
HttpRequest
HttpMethod
of this HttpRequest
.setMethod
在接口中 HttpRequest
FullHttpRequest setUri(java.lang.String uri)
HttpRequest
setUri
在接口中 HttpRequest