org.cometd.server
Class JacksonJSONContextServer
java.lang.Object
org.cometd.common.JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
org.cometd.server.JacksonJSONContextServer
- All Implemented Interfaces:
- JSONContext.Server
public class JacksonJSONContextServer
- extends JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
- implements JSONContext.Server
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JacksonJSONContextServer
public JacksonJSONContextServer()
rootArrayClass
protected Class<ServerMessageImpl[]> rootArrayClass()
- Specified by:
rootArrayClass in class JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
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-2012 Dojo Foundation. All Rights Reserved.