public static Function<? super HttpClient, RetryingClient>
    newDecorator(RetryConfig<HttpResponse> retryConfig) {
        return builder(retryConfig).newDecorator();
    }
Creates a new {@link HttpClient} decorator that handles failures of an invocation and retries HTTP
requests.
The {@link RetryConfig} object encapsulates {@link RetryRule} or {@link RetryRuleWithContent},
{@code maxContentLength}, {@code maxTotalAttempts} and {@code responseTimeoutMillisForEachAttempt}.
core/src/main/java/com/linecorp/armeria/client/retry/RetryingClient.java