org.cometd.server
Class JacksonJSONContextServer

java.lang.Object
  extended by org.cometd.common.JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
      extended by org.cometd.server.JacksonJSONContextServer
All Implemented Interfaces:
JSONContext.Server

public class JacksonJSONContextServer
extends JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
implements JSONContext.Server


Constructor Summary
JacksonJSONContextServer()
           
 
Method Summary
 String generate(T arg0)
           
 String generate(T[] arg0)
           
 T[] parse(InputStream arg0)
           
 T[] parse(Reader arg0)
           
 T[] parse(String arg0)
           
protected  Class<ServerMessageImpl[]> rootArrayClass()
           
 
Methods inherited from class org.cometd.common.JacksonJSONContext
generate, generate, getObjectMapper, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JacksonJSONContextServer

public JacksonJSONContextServer()
Method Detail

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.