public final class Encoder extends Object
Constructor and Description |
---|
Encoder(int maxHeaderTableSize)
Creates a new encoder.
|
Modifier and Type | Method and Description |
---|---|
void |
encodeHeader(OutputStream out,
byte[] name,
byte[] value,
boolean sensitive)
Encode the header field into the header block.
|
int |
getMaxHeaderTableSize()
Return the maximum table size.
|
void |
setMaxHeaderTableSize(OutputStream out,
int maxHeaderTableSize)
Set the maximum table size.
|
public void encodeHeader(OutputStream out, byte[] name, byte[] value, boolean sensitive) throws IOException
IOException
public void setMaxHeaderTableSize(OutputStream out, int maxHeaderTableSize) throws IOException
IOException
public int getMaxHeaderTableSize()
Copyright © 2018. All rights reserved.