Package io.netty.handler.codec.http2
Class HpackHuffmanEncoder.EncodeProcessor
- java.lang.Object
-
- io.netty.handler.codec.http2.HpackHuffmanEncoder.EncodeProcessor
-
- All Implemented Interfaces:
ByteProcessor
- Enclosing class:
- HpackHuffmanEncoder
private final class HpackHuffmanEncoder.EncodeProcessor extends java.lang.Object implements ByteProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.util.ByteProcessor
ByteProcessor.IndexNotOfProcessor, ByteProcessor.IndexOfProcessor
-
-
Field Summary
Fields Modifier and Type Field Description private long
current
private int
n
(package private) ByteBuf
out
-
Fields inherited from interface io.netty.util.ByteProcessor
FIND_ASCII_SPACE, FIND_COMMA, 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 Summary
Constructors Modifier Constructor Description private
EncodeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
end()
boolean
process(byte value)
-
-
-
Field Detail
-
out
ByteBuf out
-
current
private long current
-
n
private int n
-
-
Method Detail
-
process
public boolean process(byte value)
- Specified by:
process
in interfaceByteProcessor
- Returns:
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.
-
end
void end()
-
-