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.JSONGenerator

    Nested 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(org.cometd.bayeux.server.ServerMessage.Mutable message)
     
    org.cometd.common.JSONContext.Generator
     
    org.cometd.common.JSONContext.AsyncParser
     
    protected org.cometd.bayeux.server.ServerMessage.Mutable
     

    Methods inherited from class org.cometd.common.JettyJSONContext

    getAsyncJSONFactory, getJSON, getParser, parse, putConvertor

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      newMessage in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
    • newAsyncParser

      public org.cometd.common.JSONContext.AsyncParser newAsyncParser()
      Specified by:
      newAsyncParser in interface org.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
      Overrides:
      newAsyncParser in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
    • generate

      public String generate(org.cometd.bayeux.server.ServerMessage.Mutable message)
      Specified by:
      generate in interface org.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
      Specified by:
      generate in interface JSONContextServer
      Overrides:
      generate in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
    • getGenerator

      public org.cometd.common.JSONContext.Generator getGenerator()
      Specified by:
      getGenerator in interface org.cometd.common.JSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
      Overrides:
      getGenerator in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>