Class JacksonJSONContextServer

  • All Implemented Interfaces:
    org.cometd.common.JSONContext.Server

    public class JacksonJSONContextServer
    extends org.cometd.common.JacksonJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable,ServerMessageImpl>
    implements org.cometd.common.JSONContext.Server
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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()  
      T[] parse​(java.io.InputStream arg0)  
      T[] parse​(java.io.Reader arg0)  
      T[] parse​(java.lang.String arg0)  
      protected java.lang.Class<ServerMessageImpl[]> rootArrayClass()  
      • Methods inherited from class org.cometd.common.JacksonJSONContext

        generate, generate, getGenerator, getObjectMapper, getParser, parse, parse, parse
      • Methods inherited from class java.lang.Object

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

      • JacksonJSONContextServer

        public JacksonJSONContextServer()
    • Method Detail

      • rootArrayClass

        protected java.lang.Class<ServerMessageImpl[]> rootArrayClass()
        Specified by:
        rootArrayClass in class org.cometd.common.JacksonJSONContext<org.cometd.bayeux.server.ServerMessage.Mutable,ServerMessageImpl>
      • 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()