public class WhitespaceSkipper extends Object implements ByteBufProcessor
This ByteBufProcessor loops while it encounters whitespace or new lines (‘ ’, ‘\t’, ‘\r’ and ‘\n’).
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 |
|---|
WhitespaceSkipper() |
public boolean process(byte current)
throws Exception
process in interface ByteBufProcessorExceptionCopyright © 2016 Couchbase, Inc.. All rights reserved.