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.| Modifier and Type | Method and Description |
|---|---|
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, setDecoderResultcontentrefCnt, release, releaseHttpContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderHttpContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderHttpContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedHttpContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedCopyright © 2008–2018 The Netty Project. All rights reserved.