Package io.micronaut.http.netty.stream
Class DefaultHttp2Content
- java.lang.Object
-
- io.netty.handler.codec.http.DefaultHttpObject
-
- io.netty.handler.codec.http.DefaultHttpContent
-
- io.micronaut.http.netty.stream.DefaultHttp2Content
-
- All Implemented Interfaces:
Http2Content,io.netty.buffer.ByteBufHolder,io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.HttpContent,io.netty.handler.codec.http.HttpObject,io.netty.util.ReferenceCounted
@Internal public final class DefaultHttp2Content extends io.netty.handler.codec.http.DefaultHttpContent implements Http2Content
AnHttp2Contentdefault implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultHttp2Content(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http2.Http2Stream stream)Creates a new instance with the specified chunk content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.http2.Http2Streamstream()-
Methods inherited from class io.netty.handler.codec.http.DefaultHttpContent
content, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
-
Methods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, equals, getDecoderResult, hashCode, setDecoderResult
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
-
-
-
Method Detail
-
stream
public io.netty.handler.codec.http2.Http2Stream stream()
- Specified by:
streamin interfaceHttp2Content- Returns:
- The stream the content is associated with.
-
-