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) |
getDecoderResult
HttpContent copy()
copy
in interface io.netty.buffer.ByteBufHolder
HttpContent duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
HttpContent retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
HttpContent replace(io.netty.buffer.ByteBuf content)
replace
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
HttpContent touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
HttpContent touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
Copyright © 2008–2023 The Netty Project. All rights reserved.