public class HpackEncoder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
HpackEncoder.HpackHeaderFunction |
static class |
HpackEncoder.State |
Modifier and Type | Field and Description |
---|---|
static HpackEncoder.HpackHeaderFunction |
DEFAULT_HEADER_FUNCTION |
Constructor and Description |
---|
HpackEncoder(int maxTableSize) |
HpackEncoder(int maxTableSize,
HpackEncoder.HpackHeaderFunction headerFunction) |
Modifier and Type | Method and 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 © 2019 JBoss by Red Hat. All rights reserved.