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
IOExceptionpublic void setMaxHeaderTableSize(OutputStream out, int maxHeaderTableSize) throws IOException
IOExceptionpublic int getMaxHeaderTableSize()
Copyright © 2008–2016 The Netty Project. All rights reserved.