@Internal public final class DefaultHttp2Content extends io.netty.handler.codec.http.DefaultHttpContent implements Http2Content
Http2Content
default implementation.Constructor and Description |
---|
DefaultHttp2Content(io.netty.buffer.ByteBuf content,
io.netty.handler.codec.http2.Http2Stream stream)
Creates a new instance with the specified chunk content.
|
Modifier and Type | Method and Description |
---|---|
io.netty.handler.codec.http2.Http2Stream |
stream() |
content, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
decoderResult, equals, getDecoderResult, hashCode, setDecoderResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy, duplicate, replace, retain, retain, retainedDuplicate, touch, touch
public DefaultHttp2Content(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http2.Http2Stream stream)
content
- the contentstream
- The stream idpublic io.netty.handler.codec.http2.Http2Stream stream()
stream
in interface Http2Content