Modifier and Type | Method and Description |
---|---|
static ParseResult |
create(boolean isComplete,
Buffer remainderBuffer)
Create a ParseResult object.
|
Buffer |
getRemainder()
Get the parsing remainder
Buffer . |
boolean |
isComplete()
Returns true, if parsing was completed, or false if more data is expected.
|
void |
recycle()
Recycle the object.
|
public static ParseResult create(boolean isComplete, Buffer remainderBuffer)
isComplete
- was parsing completed?remainderBuffer
- the remainder.public Buffer getRemainder()
Buffer
. May not be null only in case, when parsing was completed, but some data
is still ready for parsing.Buffer
. May not be null only in case, when parsing was completed, but some
data is still ready for parsing.public boolean isComplete()
Copyright © 2015 Oracle Corporation. All rights reserved.