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
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Index | |
| private static final HpackContext. | |
| private static final HpackContext. | |
| private final HpackContext. | |
| private final Map | |
| private int | |
| private final Map | |
| private int | |
| public static final int | |
| private static final String | |
| private static final Logger | |
| public static final int | |
| public static final String[][] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public HpackContext. | |
| public HpackContext. | |
| public HpackContext. | |
| public HpackContext. | |
| public HpackContext. | |
| public int | |
| public int | |
| public static HpackContext. | |
| public int | |
| public void | |
| public int | |
| public static int | |
| public String |
| __staticFieldMap | back to summary |
|---|---|
| private static final Map<HttpField, HpackContext. | |
| __staticNameMap | back to summary |
|---|---|
| private static final Index<HpackContext. | |
| __staticTable | back to summary |
|---|---|
| private static final HpackContext. | |
| __staticTableByHeader | back to summary |
|---|---|
| private static final HpackContext. | |
| _dynamicTable | back to summary |
|---|---|
| private final HpackContext. | |
| _fieldMap | back to summary |
|---|---|
| private final Map<HttpField, HpackContext. | |
| _maxTableSize | back to summary |
|---|---|
| private int _maxTableSize | |
| _nameMap | back to summary |
|---|---|
| private final Map<String, HpackContext. | |
| _tableSize | back to summary |
|---|---|
| private int _tableSize | |
| DEFAULT_MAX_TABLE_CAPACITY | back to summary |
|---|---|
| public static final int DEFAULT_MAX_TABLE_CAPACITY | |
| EMPTY | back to summary |
|---|---|
| private static final String EMPTY | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| STATIC_SIZE | back to summary |
|---|---|
| public static final int STATIC_SIZE | |
| STATIC_TABLE | back to summary |
|---|---|
| public static final String[][] STATIC_TABLE | |
| HpackContext | back to summary |
|---|---|
| pack-priv HpackContext(int maxTableSize) | |
| add | back to summary |
|---|---|
| public HpackContext. | |
| get | back to summary |
|---|---|
| public HpackContext. | |
| get | back to summary |
|---|---|
| public HpackContext. | |
| get | back to summary |
|---|---|
| public HpackContext. | |
| get | back to summary |
|---|---|
| public HpackContext. | |
| getDynamicTableSize | back to summary |
|---|---|
public int getDynamicTableSize()
| |
| getMaxDynamicTableSize | back to summary |
|---|---|
public int getMaxDynamicTableSize()
| |
| getStatic | back to summary |
|---|---|
| public static HpackContext. | |
| index | back to summary |
|---|---|
| public int index(HpackContext. | |
| resize | back to summary |
|---|---|
| public void resize(int newMaxDynamicTableSize) | |
| size | back to summary |
|---|---|
public int size()
| |
| staticIndex | back to summary |
|---|---|
| public static int staticIndex(HttpHeader header) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private HpackContext. | |
| private final int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| public HpackContext. | |
| public int | |
| public int |
| _entries | back to summary |
|---|---|
| private HpackContext. | |
| _growby | back to summary |
|---|---|
| private final int _growby | |
| _offset | back to summary |
|---|---|
| private int _offset | |
| _size | back to summary |
|---|---|
| private int _size | |
| DynamicTable | back to summary |
|---|---|
| private DynamicTable(int initCapacity) | |
| add | back to summary |
|---|---|
| public void add(HpackContext. | |
| evict | back to summary |
|---|---|
| private void evict() | |
| evictAll | back to summary |
|---|---|
| private void evictAll() | |
| get | back to summary |
|---|---|
| public HpackContext. | |
| index | back to summary |
|---|---|
| public int index(HpackContext. | |
| size | back to summary |
|---|---|
| public int size() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HttpField | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public HttpField | |
| public int | |
| public byte[] | |
| public boolean | |
| public String |
| _field | back to summary |
|---|---|
| pack-priv final HttpField _field | |
| _slot | back to summary |
|---|---|
| pack-priv int _slot | |
| Entry | back to summary |
|---|---|
| pack-priv Entry() | |
| Entry | back to summary |
|---|---|
| pack-priv Entry(HttpField field) | |
| getHttpField | back to summary |
|---|---|
| public HttpField getHttpField() | |
| getSize | back to summary |
|---|---|
| public int getSize() | |
| getStaticHuffmanValue | back to summary |
|---|---|
| public byte[] getStaticHuffmanValue() | |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public byte[] | |
| public boolean |
| _encodedField | back to summary |
|---|---|
| private final byte _encodedField | |
| _huffmanValue | back to summary |
|---|---|
| private final byte[] _huffmanValue | |
| StaticEntry | back to summary |
|---|---|
| pack-priv StaticEntry(int index, HttpField field) | |
| getEncodedField | back to summary |
|---|---|
| public byte getEncodedField() | |
| getStaticHuffmanValue | back to summary |
|---|---|
| public byte[] getStaticHuffmanValue() Overrides org.
| |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Overrides org.
| |