Class QpackContext

java.lang.Object
org.eclipse.jetty.http3.qpack.internal.QpackContext

public class QpackContext extends Object
QPACK - Header Compression for HTTP/2

This class maintains the compression context for a single HTTP/2 connection. Specifically it holds the static and dynamic Header Field Tables and the associated sizes and limits.

It is compliant with draft 11 of the specification

  • Constructor Details

    • QpackContext

      public QpackContext()
  • Method Details

    • getDynamicTable

      public DynamicTable getDynamicTable()
    • getStaticTable

      public static StaticTable getStaticTable()
    • get

      public Entry get(HttpField field)
    • get

      public Entry get(String name)
    • get

      public Entry get(int index)
    • indexOf

      public int indexOf(Entry entry)
      Get the relative Index of an entry.
      Parameters:
      entry - the entry to get the index of.
      Returns:
      the relative index of the entry.