public interface HttpContent extends HttpObject, io.netty.buffer.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() |
HttpContent |
duplicate() |
HttpContent |
retain() |
HttpContent |
retain(int increment) |
getDecoderResult, setDecoderResultHttpContent copy()
copy in interface io.netty.buffer.ByteBufHolderHttpContent duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderHttpContent retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedHttpContent retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedCopyright © 2008–2013 The Netty Project. All rights reserved.