org.cometd.server
Class JettyJSONContextServer
java.lang.Object
org.cometd.common.JettyJSONContext<ServerMessage.Mutable>
org.cometd.server.JettyJSONContextServer
- All Implemented Interfaces:
- JSONContext.Server
public class JettyJSONContextServer
- extends JettyJSONContext<ServerMessage.Mutable>
- implements JSONContext.Server
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyJSONContextServer
public JettyJSONContextServer()
newRoot
protected ServerMessage.Mutable newRoot()
- Specified by:
newRoot in class JettyJSONContext<ServerMessage.Mutable>
newRootArray
protected ServerMessage.Mutable[] newRootArray(int size)
- Specified by:
newRootArray in class JettyJSONContext<ServerMessage.Mutable>
parse
public T[] parse(InputStream arg0)
throws ParseException
- Throws:
ParseException
parse
public T[] parse(Reader arg0)
throws ParseException
- Throws:
ParseException
parse
public T[] parse(String arg0)
throws ParseException
- Throws:
ParseException
generate
public String generate(T arg0)
generate
public String generate(T[] arg0)
Copyright © 2008-2011 Dojo Foundation. All Rights Reserved.