Class JettyJSONContextClient

    • Constructor Detail

      • JettyJSONContextClient

        public JettyJSONContextClient()
    • Method Detail

      • newRoot

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

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

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

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

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

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

        public abstract java.lang.String generate​(java.util.List<T> messages)