public final class Encoder
extends java.lang.Object
Constructor and Description |
---|
Encoder(int maxHeaderTableSize)
Creates a new encoder.
|
Modifier and Type | Method and Description |
---|---|
void |
encodeHeader(java.io.OutputStream out,
java.lang.String name,
java.lang.String value,
boolean sensitive)
Encode the header field into the header block.
|
int |
getMaxHeaderTableSize()
Return the maximum table size.
|
void |
setMaxHeaderTableSize(java.io.OutputStream out,
int maxHeaderTableSize)
Set the maximum table size.
|
public void encodeHeader(java.io.OutputStream out, java.lang.String name, java.lang.String value, boolean sensitive) throws java.io.IOException
java.io.IOException
public void setMaxHeaderTableSize(java.io.OutputStream out, int maxHeaderTableSize) throws java.io.IOException
java.io.IOException
public int getMaxHeaderTableSize()