Class HpackDecoder

java.lang.Object
org.eclipse.jetty.http2.hpack.HpackDecoder

public class HpackDecoder extends Object
Hpack Decoder

This is not thread safe and may only be called by 1 thread at a time.

  • Field Details

    • LOG

      public static final org.eclipse.jetty.util.log.Logger LOG
    • CONTENT_LENGTH_0

      public static final org.eclipse.jetty.http.HttpField.LongValueHttpField CONTENT_LENGTH_0
    • _context

      private final HpackContext _context
    • _builder

      private final MetaDataBuilder _builder
    • _huffmanDecoder

      private final org.eclipse.jetty.http.compression.HuffmanDecoder _huffmanDecoder
    • _integerDecoder

      private final org.eclipse.jetty.http.compression.NBitIntegerDecoder _integerDecoder
    • _maxTableCapacity

      private int _maxTableCapacity
  • Constructor Details

    • HpackDecoder

      @Deprecated public HpackDecoder(int localMaxDynamicTableSize, int maxHeaderSize)
      Deprecated.
    • HpackDecoder

      public HpackDecoder(int maxHeaderSize)
      Parameters:
      maxHeaderSize - The maximum allowed size of a decoded headers block, expressed as total of all name and value bytes, plus 32 bytes per field
  • Method Details