Package 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
-
-
Constructor Summary
Constructors Constructor Description JacksonJSONContextServer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stringgenerate(List<T> arg0)Stringgenerate(T arg0)JSONContext.GeneratorgetGenerator()JSONContext.ParsergetParser()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, getGenerator, getObjectMapper, getParser, parse, parse, parse
-
-
-
-
Method Detail
-
rootArrayClass
protected Class<ServerMessageImpl[]> rootArrayClass()
- Specified by:
rootArrayClassin classJacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
-
parse
public abstract T[] parse(InputStream arg0) throws ParseException
- Throws:
ParseException
-
parse
public abstract T[] parse(Reader arg0) throws ParseException
- Throws:
ParseException
-
parse
public abstract T[] parse(String arg0) throws ParseException
- Throws:
ParseException
-
getParser
public abstract JSONContext.Parser getParser()
-
getGenerator
public abstract JSONContext.Generator getGenerator()
-
-