Package org.cometd.server
Class JacksonJSONContextServer
java.lang.Object
org.cometd.common.JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
org.cometd.server.JacksonJSONContextServer
- All Implemented Interfaces:
JSONContext<ServerMessage.Mutable>,JSONContextServer
public class JacksonJSONContextServer
extends JacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
implements JSONContextServer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.common.JacksonJSONContext
JacksonJSONContext.ObjectMapperGeneratorNested classes/interfaces inherited from interface org.cometd.common.JSONContext
JSONContext.AsyncParser, JSONContext.Client, JSONContext.Generator, JSONContext.Parser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ServerMessage.Mutable message) protected Class<ServerMessageImpl[]>Methods inherited from class org.cometd.common.JacksonJSONContext
generate, getObjectMapper, getParser, newAsyncParser, parse, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.common.JSONContext
generate, getParser, newAsyncParser, parse, parse
-
Constructor Details
-
JacksonJSONContextServer
public JacksonJSONContextServer()
-
-
Method Details
-
rootArrayClass
- Specified by:
rootArrayClassin classJacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
-
generate
- Specified by:
generatein interfaceJSONContext<ServerMessage.Mutable>- Specified by:
generatein interfaceJSONContextServer- Overrides:
generatein classJacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
-
getGenerator
- Specified by:
getGeneratorin interfaceJSONContext<ServerMessage.Mutable>- Overrides:
getGeneratorin classJacksonJSONContext<ServerMessage.Mutable,ServerMessageImpl>
-