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

public class JettyJSONContextServer
extends org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
implements org.cometd.common.JSONContext.Server
  • Constructor Summary

    Constructors 
    Constructor Description
    JettyJSONContextServer()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String generate​(java.util.List<T> arg0)  
    java.lang.String generate​(T arg0)  
    org.cometd.common.JSONContext.Generator getGenerator()  
    org.cometd.common.JSONContext.Parser getParser()  
    protected org.cometd.bayeux.server.ServerMessage.Mutable newRoot()  
    protected org.cometd.bayeux.server.ServerMessage.Mutable[] newRootArray​(int size)  
    T[] parse​(java.io.InputStream arg0)  
    T[] parse​(java.io.Reader arg0)  
    T[] parse​(java.lang.String arg0)  

    Methods inherited from class org.cometd.common.JettyJSONContext

    generate, generate, getGenerator, getJSON, getParser, parse, parse, parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • newRoot

      protected org.cometd.bayeux.server.ServerMessage.Mutable newRoot()
      Specified by:
      newRoot in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
    • newRootArray

      protected org.cometd.bayeux.server.ServerMessage.Mutable[] newRootArray​(int size)
      Specified by:
      newRootArray in class org.cometd.common.JettyJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable>
    • parse

      public abstract T[] parse​(java.io.InputStream arg0) throws java.text.ParseException
      Throws:
      java.text.ParseException
    • parse

      public abstract T[] parse​(java.io.Reader arg0) throws java.text.ParseException
      Throws:
      java.text.ParseException
    • parse

      public abstract T[] parse​(java.lang.String arg0) throws java.text.ParseException
      Throws:
      java.text.ParseException
    • generate

      public abstract java.lang.String generate​(T arg0)
    • generate

      public abstract java.lang.String generate​(java.util.List<T> arg0)
    • getParser

      public abstract org.cometd.common.JSONContext.Parser getParser()
    • getGenerator

      public abstract org.cometd.common.JSONContext.Generator getGenerator()