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) |
HttpContent |
touch() |
HttpContent |
touch(Object hint) |
HttpContent 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.ReferenceCountedHttpContent touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedHttpContent touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedCopyright © 2008–2015 The Netty Project. All rights reserved.