private static class ByteBufUtil.IndexOfProcessor extends java.lang.Object implements ByteBufProcessor
| Modifier and Type | Field and Description |
|---|---|
private byte |
byteToFind |
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| Constructor and Description |
|---|
IndexOfProcessor(byte byteToFind) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
process(byte value) |
public boolean process(byte value)
process in interface ByteBufProcessortrue 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.