public class HpackEncoder extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
HpackEncoder.HpackHeaderFunction |
|
static class |
HpackEncoder.State |
| Modifier and Type | Field | Description |
|---|---|---|
static HpackEncoder.HpackHeaderFunction |
DEFAULT_HEADER_FUNCTION |
| Constructor | Description |
|---|---|
HpackEncoder(int maxTableSize) |
|
HpackEncoder(int maxTableSize,
HpackEncoder.HpackHeaderFunction headerFunction) |
| Modifier and Type | Method | Description |
|---|---|---|
HpackEncoder.State |
encode(HeaderMap headers,
ByteBuffer target) |
Encodes the headers into a buffer.
|
void |
setMaxTableSize(int newSize) |
public static final HpackEncoder.HpackHeaderFunction DEFAULT_HEADER_FUNCTION
public HpackEncoder(int maxTableSize,
HpackEncoder.HpackHeaderFunction headerFunction)
public HpackEncoder(int maxTableSize)
public HpackEncoder.State encode(HeaderMap headers, ByteBuffer target)
headers - target - public void setMaxTableSize(int newSize)
Copyright © 2018. All rights reserved.