Interface ResponseHandler<T>

  • All Known Implementing Classes:
    ResponseHandlerWithHeaders

    public interface ResponseHandler<T>
    Interface for handling async method callbacks
    • Method Detail

      • onError

        void onError​(Exception ex)
        Called when the method errored. This is NOT called when onSuccess errors.
      • onSuccess

        void onSuccess​(T value)
        Called when the method succeeds.