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, wait
parse
public AsyncJSONParser(org.eclipse.jetty.util.ajax.AsyncJSON asyncJSON)
public void parse(ByteBuffer buffer)
parse
in interface JSONContext.AsyncParser
buffer
- the buffer chunk to parsepublic <R> R complete()
JSONContext.AsyncParser
Signals the end of the JSON string content to this parser and returns the parsed object.
complete
in interface JSONContext.AsyncParser
R
- the type to cast the result toCopyright © 2008–2024 The CometD Project. All rights reserved.