Package io.netty.handler.codec.http
Interface HttpContent
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,HttpObject,io.netty.util.ReferenceCounted
- All Known Subinterfaces:
FullHttpMessage,FullHttpRequest,FullHttpResponse,LastHttpContent
- All Known Implementing Classes:
DefaultFullHttpRequest,DefaultFullHttpResponse,DefaultHttpContent,DefaultLastHttpContent
An HTTP chunk which is used for HTTP chunked transfer-encoding.
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.-
Method Summary
Methods inherited from interface io.netty.buffer.ByteBufHolder
contentMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResultMethods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
Method Details
-
copy
HttpContent copy()- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder
-
duplicate
HttpContent duplicate()- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder
-
retainedDuplicate
HttpContent retainedDuplicate()- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder
-
replace
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder
-
retain
HttpContent retain()- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
HttpContent touch()- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-