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, setDecoderResult
HttpContent copy()
copy
in interface io.netty.buffer.ByteBufHolder
HttpContent duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
HttpContent retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
HttpContent retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
Copyright © 2008–2013 The Netty Project. All rights reserved.