public interface HttpContent extends HttpObject, ByteBufHolder
HttpObjectDecoder
generates HttpContent
after
HttpMessage
when the content is large or the encoding of the content
is 'chunked. If you prefer not to receive HttpContent
in your handler,
place HttpObjectAggregator
after HttpObjectDecoder
in the
ChannelPipeline
.限定符和类型 | 方法和说明 |
---|---|
HttpContent |
copy()
Create a deep copy of this
ByteBufHolder . |
HttpContent |
duplicate()
Duplicate the
ByteBufHolder . |
HttpContent |
retain()
Increases the reference count by
1 . |
HttpContent |
retain(int increment)
Increases the reference count by the specified
increment . |
getDecoderResult, setDecoderResult
content
refCnt, release, release
HttpContent copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
HttpContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
HttpContent retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
HttpContent retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted