public static Function<? super HttpClient, RetryingClient>
    newDecorator(RetryRuleWithContent<HttpResponse> retryRuleWithContent) {
        return builder(retryRuleWithContent).newDecorator();
    }
Creates a new {@link HttpClient} decorator with the specified {@link RetryRuleWithContent} that
handles failures of an invocation and retries HTTP requests.

@param retryRuleWithContent the retry rule
core/src/main/java/com/linecorp/armeria/client/retry/RetryingClient.java