private static final class HpackHuffmanDecoder.DecoderProcessor extends java.lang.Object implements ByteProcessor
ByteProcessor.IndexNotOfProcessor, ByteProcessor.IndexOfProcessor
Modifier and Type | Field and Description |
---|---|
private byte[] |
bytes |
private int |
current |
private int |
currentBits |
private int |
index |
private int |
initialCapacity |
private HpackHuffmanDecoder.Node |
node |
private int |
symbolBits |
FIND_CR, FIND_CRLF, FIND_LF, FIND_LINEAR_WHITESPACE, FIND_NON_CR, FIND_NON_CRLF, FIND_NON_LF, FIND_NON_LINEAR_WHITESPACE, FIND_NON_NUL, FIND_NUL, FIND_SEMI_COLON
Constructor and Description |
---|
DecoderProcessor(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
private void |
append(int i) |
(package private) AsciiString |
end() |
boolean |
process(byte value) |
(package private) void |
reset() |
private final int initialCapacity
private byte[] bytes
private int index
private HpackHuffmanDecoder.Node node
private int current
private int currentBits
private int symbolBits
void reset()
public boolean process(byte value) throws Http2Exception
process
in interface ByteProcessor
true
if the processor wants to continue the loop and handle the next byte in the buffer.
false
if the processor wants to stop handling bytes and abort the loop.Http2Exception
AsciiString end() throws Http2Exception
Http2Exception
private void append(int i)