public class JettyJSONContextServer extends JettyJSONContext<ServerMessage.Mutable> implements JSONContext.Server
| Constructor and Description |
|---|
JettyJSONContextServer() |
| Modifier and Type | Method and Description |
|---|---|
String |
generate(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, parseprotected 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
ParseExceptionpublic T[] parse(Reader arg0) throws ParseException
ParseExceptionpublic T[] parse(String arg0) throws ParseException
ParseExceptionpublic JSONContext.Parser getParser()
public JSONContext.Generator getGenerator()
Copyright © 2008-2013 Dojo Foundation. All Rights Reserved.