public final class Decoder
extends java.lang.Object
Constructor and Description |
---|
Decoder(int maxHeaderSize,
int maxHeaderTableSize)
Creates a new decoder.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(java.io.InputStream in,
HeaderListener headerListener)
Decode the header block into header fields.
|
boolean |
endHeaderBlock()
End the current header block.
|
int |
getMaxHeaderTableSize()
Return the maximum table size.
|
void |
setMaxHeaderTableSize(int maxHeaderTableSize)
Set the maximum table size.
|
public Decoder(int maxHeaderSize, int maxHeaderTableSize)
public void decode(java.io.InputStream in, HeaderListener headerListener) throws java.io.IOException
java.io.IOException
public boolean endHeaderBlock()
public void setMaxHeaderTableSize(int maxHeaderTableSize)
public int getMaxHeaderTableSize()