public final class Decoder extends Object
| Constructor and Description |
|---|
Decoder(int maxHeaderSize,
int maxHeaderTableSize)
Creates a new decoder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(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(InputStream in, HeaderListener headerListener) throws IOException
IOExceptionpublic boolean endHeaderBlock()
public void setMaxHeaderTableSize(int maxHeaderTableSize)
public int getMaxHeaderTableSize()
Copyright © 2008–2016 The Netty Project. All rights reserved.