public abstract class AbstractStringAwareBufProcessor extends Object
ByteBufProcessor
that need to take JSON string escaping
into account, through the isEscaped(byte)
method.Constructor and Description |
---|
AbstractStringAwareBufProcessor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isEscaped(byte nextByte)
Detects opening and closing of JSON strings and keep track of it in order
to mark characters in the string (delimiter quotes included) as escaped.
|
protected boolean isEscaped(byte nextByte)
nextByte
- the next byte to inspect.Copyright © 2021 Couchbase, Inc.. All rights reserved.