public interface LastHttpContent extends HttpContent
HttpContent
which has trailing headers.限定符和类型 | 字段和说明 |
---|---|
static LastHttpContent |
EMPTY_LAST_CONTENT
The 'end of content' marker in chunked encoding.
|
限定符和类型 | 方法和说明 |
---|---|
LastHttpContent |
copy()
Creates a deep copy of this
ByteBufHolder . |
LastHttpContent |
duplicate()
Duplicates this
ByteBufHolder . |
LastHttpContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
LastHttpContent |
retain()
Increases the reference count by
1 . |
LastHttpContent |
retain(int increment)
Increases the reference count by the specified
increment . |
LastHttpContent |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
LastHttpContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastHttpContent |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
HttpHeaders |
trailingHeaders() |
getDecoderResult
decoderResult, setDecoderResult
content
refCnt, release, release
static final LastHttpContent EMPTY_LAST_CONTENT
HttpHeaders trailingHeaders()
LastHttpContent copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 HttpContent
LastHttpContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 HttpContent
LastHttpContent retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 HttpContent
ByteBuf.retainedDuplicate()
LastHttpContent replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 HttpContent
LastHttpContent retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 HttpContent
retain
在接口中 ReferenceCounted
LastHttpContent retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 HttpContent
retain
在接口中 ReferenceCounted
LastHttpContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 HttpContent
touch
在接口中 ReferenceCounted
LastHttpContent touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 HttpContent
touch
在接口中 ReferenceCounted