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<org.cometd.bayeux.server.ServerMessage.Mutable>, JSONContextServer
public class JettyJSONContextServer
extends org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
implements JSONContextServer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.common.JettyJSONContext
org.cometd.common.JettyJSONContext.AsyncJSONFactory, org.cometd.common.JettyJSONContext.AsyncJSONParser, org.cometd.common.JettyJSONContext.JSONGeneratorNested classes/interfaces inherited from interface org.cometd.common.JSONContext
org.cometd.common.JSONContext.AsyncParser, org.cometd.common.JSONContext.Client, org.cometd.common.JSONContext.Generator, org.cometd.common.JSONContext.Parser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(org.cometd.bayeux.server.ServerMessage.Mutable message) org.cometd.common.JSONContext.Generatororg.cometd.common.JSONContext.AsyncParserprotected org.cometd.bayeux.server.ServerMessage.MutableMethods inherited from class org.cometd.common.JettyJSONContext
getAsyncJSONFactory, getJSON, getParser, parse, putConvertorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.common.JSONContext
getParser, parse
-
Constructor Details
-
JettyJSONContextServer
public JettyJSONContextServer()
-
-
Method Details
-
newMessage
protected org.cometd.bayeux.server.ServerMessage.Mutable newMessage()- Specified by:
newMessagein classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
newAsyncParser
public org.cometd.common.JSONContext.AsyncParser newAsyncParser()- Specified by:
newAsyncParserin interfaceorg.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>- Overrides:
newAsyncParserin classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
generate
- Specified by:
generatein interfaceorg.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>- Specified by:
generatein interfaceJSONContextServer- Overrides:
generatein classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-
getGenerator
public org.cometd.common.JSONContext.Generator getGenerator()- Specified by:
getGeneratorin interfaceorg.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>- Overrides:
getGeneratorin classorg.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
-