| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static interface | |
| pack-priv static enum | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private MimeHeaders | |
| private int | currentTableSize
The current table size |
| private static final HpackEncoder. | |
| private final Map | |
| private static final Map | |
| private int | |
| private final Deque | |
| private boolean | |
| private int | |
| private final HpackEncoder. | |
| private static final Log | |
| private int | maxTableSize
The maximum table size |
| private int | |
| private int | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv HpackEncoder. | Returns: The state of the encoding processThe headers to encode headers, ByteBuffer The buffer to which to write the encoded headers target)Encodes the headers into a buffer. |
| private HpackEncoder. | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| private void |
| currentHeaders | back to summary |
|---|---|
| private MimeHeaders currentHeaders | |
| currentTableSize | back to summary |
|---|---|
| private int currentTableSize The current table size | |
| DEFAULT_HEADER_FUNCTION | back to summary |
|---|---|
| private static final HpackEncoder. | |
| dynamicTable | back to summary |
|---|---|
| private final Map<String, List<HpackEncoder. | |
| ENCODING_STATIC_TABLE | back to summary |
|---|---|
| private static final Map<String, HpackEncoder. | |
| entryPositionCounter | back to summary |
|---|---|
| private int entryPositionCounter | |
| evictionQueue | back to summary |
|---|---|
| private final Deque<HpackEncoder. | |
| firstPass | back to summary |
|---|---|
| private boolean firstPass | |
| headersIterator | back to summary |
|---|---|
| private int headersIterator | |
| hpackHeaderFunction | back to summary |
|---|---|
| private final HpackEncoder. | |
| log | back to summary |
|---|---|
| private static final Log log | |
| maxTableSize | back to summary |
|---|---|
| private int maxTableSize The maximum table size | |
| minNewMaxHeaderSize | back to summary |
|---|---|
| private int minNewMaxHeaderSize | |
| newMaxHeaderSize | back to summary |
|---|---|
| private int newMaxHeaderSize | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| HpackEncoder | back to summary |
|---|---|
| pack-priv HpackEncoder() | |
| addToDynamicTable | back to summary |
|---|---|
| private void addToDynamicTable(String headerName, String val) | |
| encode | back to summary |
|---|---|
| pack-priv HpackEncoder. Encodes the headers into a buffer.
| |
| findInTable | back to summary |
|---|---|
| private HpackEncoder. | |
| handleTableSizeChange | back to summary |
|---|---|
| private void handleTableSizeChange(ByteBuffer target) | |
| preventPositionRollover | back to summary |
|---|---|
| private void preventPositionRollover() | |
| runEvictionIfRequired | back to summary |
|---|---|
| private void runEvictionIfRequired() | |
| setMaxTableSize | back to summary |
|---|---|
| public void setMaxTableSize(int newSize) | |
| writeHuffmanEncodableName | back to summary |
|---|---|
| private void writeHuffmanEncodableName(ByteBuffer target, String headerName) | |
| writeHuffmanEncodableValue | back to summary |
|---|---|
| private void writeHuffmanEncodableValue(ByteBuffer target, String headerName, String val) | |
| writeValueString | back to summary |
|---|---|
| private void writeValueString(ByteBuffer target, String val) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int |
| DynamicTableEntry | back to summary |
|---|---|
| private DynamicTableEntry(String name, String value, int position) | |
| getPosition | back to summary |
|---|---|
| pack-priv int getPosition() Overrides org.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the value should be encodedThe header name header, String The header value to be encoded value)Returns true if huffman encoding should be used on the header value |
| public boolean | Returns: true if the value should be encodedThe header name to be encoded header)Returns true if huffman encoding should be used on the header name |
| public boolean |
| shouldUseHuffman | back to summary |
|---|---|
| public boolean shouldUseHuffman(String header, String value) Returns true if huffman encoding should be used on the header value | |
| shouldUseHuffman | back to summary |
|---|---|
| public boolean shouldUseHuffman(String header) Returns true if huffman encoding should be used on the header name
| |
| shouldUseIndexing | back to summary |
|---|---|
| public boolean shouldUseIndexing(String header, String value) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HpackEncoder. | |
| public static final HpackEncoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HpackEncoder. | |
| public static HpackEncoder. |
| COMPLETE | back to summary |
|---|---|
| public static final HpackEncoder. | |
| UNDERFLOW | back to summary |
|---|---|
| public static final HpackEncoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static HpackEncoder. | |
| values | back to summary |
|---|---|
| public static HpackEncoder. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private int | |
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| name | back to summary |
|---|---|
| private final String name | |
| position | back to summary |
|---|---|
| private int position | |
| size | back to summary |
|---|---|
| private final int size | |
| value | back to summary |
|---|---|
| private final String value | |
| TableEntry | back to summary |
|---|---|
| private TableEntry(String name, String value, int position) | |
| getPosition | back to summary |
|---|---|
| pack-priv int getPosition() | |
| getSize | back to summary |
|---|---|
| pack-priv int getSize() | |