public class JettyJSONContextServer extends JettyJSONContext<ServerMessage.Mutable> implements JSONContext.Server
Constructor and Description |
---|
JettyJSONContextServer() |
Modifier and Type | Method and Description |
---|---|
String |
generate(List<T> arg0) |
String |
generate(T arg0) |
JSONContext.Generator |
getGenerator() |
JSONContext.Parser |
getParser() |
protected ServerMessage.Mutable |
newRoot() |
protected ServerMessage.Mutable[] |
newRootArray(int size) |
T[] |
parse(InputStream arg0) |
T[] |
parse(Reader arg0) |
T[] |
parse(String arg0) |
generate, generate, getGenerator, getJSON, getParser, parse, parse, parse
protected ServerMessage.Mutable newRoot()
newRoot
in class JettyJSONContext<ServerMessage.Mutable>
protected ServerMessage.Mutable[] newRootArray(int size)
newRootArray
in class JettyJSONContext<ServerMessage.Mutable>
public T[] parse(InputStream arg0) throws ParseException
ParseException
public T[] parse(Reader arg0) throws ParseException
ParseException
public T[] parse(String arg0) throws ParseException
ParseException
public JSONContext.Parser getParser()
public JSONContext.Generator getGenerator()
Copyright © 2008–2016 The CometD Project. All rights reserved.