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
@Deprecated
public final class DefaultHttp2Content
extends io.netty.handler.codec.http.DefaultHttpContent
implements Http2Content
Deprecated.
An
Http2Content default implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultHttp2Content(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http2.Http2Stream stream) Deprecated.Creates a new instance with the specified chunk content. -
Method Summary
Methods inherited from class io.netty.handler.codec.http.DefaultHttpContent
content, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touchMethods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, equals, getDecoderResult, hashCode, setDecoderResultMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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.HttpContent
copy, duplicate, replace, retain, retain, retainedDuplicate, touch, touchMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResultMethods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
Constructor Details
-
DefaultHttp2Content
public DefaultHttp2Content(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http2.Http2Stream stream) Deprecated.Creates a new instance with the specified chunk content.- Parameters:
content- the contentstream- The stream id
-
-
Method Details
-
stream
public io.netty.handler.codec.http2.Http2Stream stream()Deprecated.- Specified by:
streamin interfaceHttp2Content- Returns:
- The stream the content is associated with.
-