Interface Http2Content

  • All Superinterfaces:
    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
    All Known Subinterfaces:
    LastHttp2Content
    All Known Implementing Classes:
    DefaultHttp2Content

    public interface Http2Content
    extends io.netty.handler.codec.http.HttpContent
    Represents HTTP2 streamed content.
    Since:
    2.1.3
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.netty.handler.codec.http2.Http2Stream stream()  
      • 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
    • Method Detail

      • stream

        io.netty.handler.codec.http2.Http2Stream stream()
        Returns:
        The stream the content is associated with.