Package org.cometd.server
Class JacksonJSONContextServer
- java.lang.Object
-
- org.cometd.common.JacksonJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable,ServerMessageImpl>
-
- org.cometd.server.JacksonJSONContextServer
-
- All Implemented Interfaces:
org.cometd.common.JSONContext.Server
public class JacksonJSONContextServer extends org.cometd.common.JacksonJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable,ServerMessageImpl> implements org.cometd.common.JSONContext.Server
-
-
Constructor Summary
Constructors Constructor Description JacksonJSONContextServer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
generate(java.util.List<T> arg0)
java.lang.String
generate(T arg0)
org.cometd.common.JSONContext.Generator
getGenerator()
org.cometd.common.JSONContext.Parser
getParser()
T[]
parse(java.io.InputStream arg0)
T[]
parse(java.io.Reader arg0)
T[]
parse(java.lang.String arg0)
protected java.lang.Class<ServerMessageImpl[]>
rootArrayClass()
-
-
-
Method Detail
-
rootArrayClass
protected java.lang.Class<ServerMessageImpl[]> rootArrayClass()
- Specified by:
rootArrayClass
in classorg.cometd.common.JacksonJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable,ServerMessageImpl>
-
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()
-
-