Interface AsyncHttpPaginatedResponse.Callback

  • Enclosing class:
    AsyncHttpPaginatedResponse

    public static interface AsyncHttpPaginatedResponse.Callback
    An interface allowing a client to be notified of the outcome of an asynchronous operation.
    • Method Detail

      • onResponse

        void onResponse​(AsyncHttpPaginatedResponse response)
        Called when the associated request completes with an Http response,
      • onError

        void onError​(ErrorInfo reason)
        Called when the associated operation completes with an error.
        Parameters:
        reason - information about the error.