public class HpackDecoder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
HpackDecoder.HeaderEmitter
Interface that can be used to immediately validate headers (ex: uppercase detection).
|
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Constructor and Description |
---|
HpackDecoder() |
HpackDecoder(int maxMemorySize) |
Modifier and Type | Method and Description |
---|---|
void |
decode(ByteBuffer buffer)
Decodes the provided frame data.
|
HpackDecoder.HeaderEmitter |
getHeaderEmitter() |
void |
setHeaderEmitter(HpackDecoder.HeaderEmitter headerEmitter) |
protected static final StringManager sm
public HpackDecoder(int maxMemorySize)
public HpackDecoder()
public void decode(ByteBuffer buffer) throws HpackException
buffer
- The bufferHpackException
- If the packed data is not validpublic HpackDecoder.HeaderEmitter getHeaderEmitter()
public void setHeaderEmitter(HpackDecoder.HeaderEmitter headerEmitter)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.