Package org.cometd.server
Class JettyJSONContextServer
- java.lang.Object
-
- org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
- org.cometd.server.JettyJSONContextServer
-
- All Implemented Interfaces:
org.cometd.common.JSONContext.Server
public class JettyJSONContextServer extends org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable> implements org.cometd.common.JSONContext.Server
-
-
Constructor Summary
Constructors Constructor Description JettyJSONContextServer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Stringgenerate(java.util.List<T> arg0)java.lang.Stringgenerate(T arg0)org.cometd.common.JSONContext.GeneratorgetGenerator()org.cometd.common.JSONContext.ParsergetParser()protected org.cometd.bayeux.server.ServerMessage.MutablenewRoot()protected org.cometd.bayeux.server.ServerMessage.Mutable[]newRootArray(int size)T[]parse(java.io.InputStream arg0)T[]parse(java.io.Reader arg0)T[]parse(java.lang.String arg0)
-
-
-
Method Detail
-
newRoot
protected org.cometd.bayeux.server.ServerMessage.Mutable newRoot()
- Specified by:
newRootin classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
newRootArray
protected org.cometd.bayeux.server.ServerMessage.Mutable[] newRootArray(int size)
- Specified by:
newRootArrayin classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
parse
public abstract T[] parse(java.io.InputStream arg0) throws java.text.ParseException- Throws:
java.text.ParseException
-
parse
public abstract T[] parse(java.io.Reader arg0) throws java.text.ParseException- Throws:
java.text.ParseException
-
parse
public abstract T[] parse(java.lang.String arg0) throws java.text.ParseException- Throws:
java.text.ParseException
-
generate
public abstract java.lang.String generate(T arg0)
-
generate
public abstract java.lang.String generate(java.util.List<T> arg0)
-
getParser
public abstract org.cometd.common.JSONContext.Parser getParser()
-
getGenerator
public abstract org.cometd.common.JSONContext.Generator getGenerator()
-
-