| Modifier and Type | Method and Description |
|---|---|
static ParseResult |
create(boolean isComplete,
org.glassfish.grizzly.Buffer remainderBuffer)
Create a ParseResult object.
|
org.glassfish.grizzly.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, org.glassfish.grizzly.Buffer remainderBuffer)
isComplete - was parsing completed?remainderBuffer - the remainder.public org.glassfish.grizzly.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()
public void recycle()
recycle in interface org.glassfish.grizzly.CacheableCopyright © 2022 Oracle Corporation. All Rights Reserved.