org.cometd.server
Class JettyJSONContextServer

java.lang.Object
  extended by org.cometd.common.JettyJSONContext<ServerMessage.Mutable>
      extended by org.cometd.server.JettyJSONContextServer
All Implemented Interfaces:
JSONContext.Server

public class JettyJSONContextServer
extends JettyJSONContext<ServerMessage.Mutable>
implements JSONContext.Server


Constructor Summary
JettyJSONContextServer()
           
 
Method Summary
 String generate(T arg0)
           
 String generate(T[] arg0)
           
protected  ServerMessage.Mutable newRoot()
           
protected  ServerMessage.Mutable[] newRootArray(int size)
           
 T[] parse(InputStream arg0)
           
 T[] parse(Reader arg0)
           
 T[] parse(String arg0)
           
 
Methods inherited from class org.cometd.common.JettyJSONContext
generate, generate, getJSON, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyJSONContextServer

public JettyJSONContextServer()
Method Detail

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.