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

    Constructors
    Constructor
    Description
    DefaultHttp2Content(io.netty.buffer.ByteBuf content, io.netty.handler.codec.http2.Http2Stream stream)
    Deprecated.
    Creates a new instance with the specified chunk content.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.handler.codec.http2.Http2Stream
    Deprecated.
     

    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.buffer.ByteBufHolder

    content

    Methods inherited from interface io.netty.handler.codec.DecoderResultProvider

    decoderResult, setDecoderResult

    Methods inherited from interface io.netty.handler.codec.http.HttpContent

    copy, duplicate, replace, retain, retain, retainedDuplicate, touch, touch

    Methods inherited from interface io.netty.handler.codec.http.HttpObject

    getDecoderResult

    Methods 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 content
      stream - The stream id
  • Method Details

    • stream

      public io.netty.handler.codec.http2.Http2Stream stream()
      Deprecated.
      Specified by:
      stream in interface Http2Content
      Returns:
      The stream the content is associated with.