Package io.netty5.handler.codec.http
Interface HttpContent<R extends HttpContent<R>>
-
- All Superinterfaces:
AutoCloseable,io.netty5.handler.codec.DecoderResultProvider,HttpObject,io.netty5.buffer.api.Resource<R>
- All Known Subinterfaces:
FullHttpMessage<R>,FullHttpRequest,FullHttpResponse,LastHttpContent<R>
- All Known Implementing Classes:
DefaultFullHttpRequest,DefaultFullHttpResponse,DefaultHttpContent,DefaultLastHttpContent,EmptyLastHttpContent
public interface HttpContent<R extends HttpContent<R>> extends HttpObject, io.netty5.buffer.api.Resource<R>
An HTTP chunk which is used for HTTP chunked transfer-encoding.HttpObjectDecodergeneratesHttpContentafterHttpMessagewhen the content is large or the encoding of the content is 'chunked. If you prefer not to receiveHttpContentin your handler, placeHttpObjectAggregatorafterHttpObjectDecoderin theChannelPipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty5.buffer.api.Bufferpayload()Returns theBufferrepresenting the payload of the HTTP message.
-