|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.websockets.frame.ParseResult
public class ParseResult
Frame parse result.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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()
public void recycle()
recycle in interface Cacheable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||