public static Function<? super HttpClient, CircuitBreakerClient>
    newDecorator(CircuitBreakerMapping mapping, CircuitBreakerRuleWithContent<HttpResponse> ruleWithContent) {
        requireNonNull(mapping, "mapping");
        requireNonNull(ruleWithContent, "ruleWithContent");
        return newDecorator(CircuitBreakerClientHandler.of(mapping), ruleWithContent);
    }
Creates a new decorator with the specified {@link CircuitBreakerMapping} and
{@link CircuitBreakerRuleWithContent}.

<p>Since {@link CircuitBreaker} is a unit of failure detection, don't reuse the same instance for
unrelated services.
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/CircuitBreakerClient.java