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