public class HpackEncoder
extends java.lang.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 |
Modifier and Type | Method and Description |
---|---|
HpackEncoder.State |
encode(MimeHeaders headers,
java.nio.ByteBuffer target)
Encodes the headers into a buffer.
|
void |
setMaxTableSize(int newSize) |
public static final HpackEncoder.HpackHeaderFunction DEFAULT_HEADER_FUNCTION
public HpackEncoder.State encode(MimeHeaders headers, java.nio.ByteBuffer target)
headers
- The headers to encodetarget
- The buffer to which to write the encoded headerspublic void setMaxTableSize(int newSize)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.