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 |
replace(io.netty.buffer.ByteBuf content) |
HttpContent |
retain() |
HttpContent |
retain(int increment) |
HttpContent |
retainedDuplicate() |
HttpContent |
touch() |
HttpContent |
touch(Object hint) |
getDecoderResultHttpContent copy()
copy in interface io.netty.buffer.ByteBufHolderHttpContent duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderHttpContent retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderHttpContent replace(io.netty.buffer.ByteBuf content)
replace 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–2023 The Netty Project. All rights reserved.