Class AsyncJSONTransport.AbstractReader

    • Method Detail

      • onDataAvailable

        public void onDataAvailable()
                             throws IOException
        Specified by:
        onDataAvailable in interface javax.servlet.ReadListener
        Throws:
        IOException
      • append

        protected abstract void append​(byte[] buffer,
                                       int offset,
                                       int length)
      • onAllDataRead

        public void onAllDataRead()
                           throws IOException
        Specified by:
        onAllDataRead in interface javax.servlet.ReadListener
        Throws:
        IOException
      • finish

        protected abstract String finish()
      • onError

        public void onError​(Throwable failure)
        Specified by:
        onError in interface javax.servlet.ReadListener