Class HpackDecoder

java.lang.Object
dev.relism.flash.http2.hpack.HpackDecoder

public final class HpackDecoder extends Object
Stateful, allocation-free HPACK decoder for one HTTP/2 connection direction.
  • Constructor Details

    • HpackDecoder

      public HpackDecoder(int advertisedTableSize, int maximumHeaderListSize)
    • HpackDecoder

      public HpackDecoder()
  • Method Details

    • decode

      public void decode(byte[] buffer, int offset, int length, HeaderSink sink)
      Decodes one complete header block.
    • dynamicTable

      public HpackDynamicTable dynamicTable()