@Override
    @SuppressWarnings("unchecked")
    public Future<T> apply(final Throwable throwable) {
      if (throwable instanceof RetryableException) {
        this.retryer.continueOrPropagate((RetryableException) throwable);
        logRetry();
        return ((Future<T>) executeAndDecode(this.template)).recover(this);
      } else {
        return Future.failedFuture(throwable);
      }
    }
Handler for failures able to retry execution of request. In this case handler passed to new
request.

@param <T> type of response
vertx/feign-vertx/src/main/java/feign/VertxMethodHandler.java