protected static class JettyJSONContext.AsyncJSONParser extends Object implements JSONContext.AsyncParser
| Constructor and Description |
|---|
AsyncJSONParser(org.eclipse.jetty.util.ajax.AsyncJSON asyncJSON) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
complete()
Signals the end of the JSON string content to this parser and returns the parsed object.
|
void |
parse(ByteBuffer buffer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparsepublic AsyncJSONParser(org.eclipse.jetty.util.ajax.AsyncJSON asyncJSON)
public void parse(ByteBuffer buffer)
parse in interface JSONContext.AsyncParserbuffer - the buffer chunk to parsepublic <R> R complete()
JSONContext.AsyncParserSignals the end of the JSON string content to this parser and returns the parsed object.
complete in interface JSONContext.AsyncParserR - the type to cast the result toCopyright © 2008–2024 The CometD Project. All rights reserved.