Package org.cometd.server
Class JettyJSONContextServer
- All Implemented Interfaces:
JSONContext<ServerMessage.Mutable>,JSONContextServer
public class JettyJSONContextServer
extends JettyJSONContext<ServerMessage.Mutable>
implements JSONContextServer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.common.JettyJSONContext
JettyJSONContext.AsyncJSONFactory, JettyJSONContext.AsyncJSONParser, JettyJSONContext.JSONGeneratorNested 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 ServerMessage.MutablenewRoot()protected ServerMessage.Mutable[]newRootArray(int size) Methods inherited from class org.cometd.common.JettyJSONContext
generate, getAsyncJSONFactory, getJSON, getParser, parse, parse, putConvertorMethods 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, parse, parse
-
Constructor Details
-
JettyJSONContextServer
public JettyJSONContextServer()
-
-
Method Details
-
newRoot
- Specified by:
newRootin classJettyJSONContext<ServerMessage.Mutable>
-
newRootArray
- Specified by:
newRootArrayin classJettyJSONContext<ServerMessage.Mutable>
-
newAsyncParser
- Specified by:
newAsyncParserin interfaceJSONContext<ServerMessage.Mutable>- Overrides:
newAsyncParserin classJettyJSONContext<ServerMessage.Mutable>
-
generate
- Specified by:
generatein interfaceJSONContext<ServerMessage.Mutable>- Specified by:
generatein interfaceJSONContextServer- Overrides:
generatein classJettyJSONContext<ServerMessage.Mutable>
-
getGenerator
- Specified by:
getGeneratorin interfaceJSONContext<ServerMessage.Mutable>- Overrides:
getGeneratorin classJettyJSONContext<ServerMessage.Mutable>
-