Top Description Fields Constructors Methods
org.eclipse.jetty.http3.qpack.internal

public Class QpackContext

extends Object
Class Inheritance
Imports
org.eclipse.jetty.http.HttpField, org.eclipse.jetty.http3.qpack.internal.table.DynamicTable, .Entry, .StaticTable, org.eclipse.jetty.util.StringUtil, org.slf4j.Logger, .LoggerFactory

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

Field Summary

Modifier and TypeField and Description
private static final StaticTable
private final DynamicTable
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Entry
get(HttpField field)

public Entry
get(String name)

public Entry
get(int index)

public DynamicTable
public static StaticTable
public int

Returns:

the relative index of the entry.
indexOf
(Entry
the entry to get the index of.
entry
)

Get the relative Index of an entry.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

__staticTableback to summary
private static final StaticTable __staticTable
_dynamicTableback to summary
private final DynamicTable _dynamicTable
LOGback to summary
private static final Logger LOG

Constructor Detail

QpackContextback to summary
public QpackContext()

Method Detail

getback to summary
public Entry get(HttpField field)
getback to summary
public Entry get(String name)
getback to summary
public Entry get(int index)
getDynamicTableback to summary
public DynamicTable getDynamicTable()
getStaticTableback to summary
public static StaticTable getStaticTable()
indexOfback to summary
public int indexOf(Entry entry)

Get the relative Index of an entry.

Parameters
entry:Entry

the entry to get the index of.

Returns:int

the relative index of the entry.