Interface AsynchronousBodyInputStream.StateChangeLister

  • Enclosing class:
    AsynchronousBodyInputStream

    static interface AsynchronousBodyInputStream.StateChangeLister
    Internal listener, so that the connection pool knows when the body has been read, so it can reuse/close the connection.
    • Method Detail

      • onError

        void onError​(java.lang.Throwable t)
      • onAllDataRead

        void onAllDataRead()