@Deprecated
    public static Function<? super HttpClient, CircuitBreakerClient>
    newPerHostAndMethodDecorator(BiFunction<String, String, ? extends CircuitBreaker> factory,
                                 CircuitBreakerRuleWithContent<HttpResponse> ruleWithContent) {
        return newDecorator(CircuitBreakerMapping.perHostAndMethod(factory), ruleWithContent);
    }
Creates a new decorator that binds one {@link CircuitBreaker} per host and {@link HttpMethod} with
the specified {@link CircuitBreakerRuleWithContent}.

<p>Since {@link CircuitBreaker} is a unit of failure detection, don't reuse the same instance for
unrelated services.

@param factory a function that takes a host+method and creates a new {@link CircuitBreaker}.

@deprecated Use {@link #newDecorator(CircuitBreakerMapping, CircuitBreakerRuleWithContent)} with
            {@link CircuitBreakerMapping#perHostAndMethod(BiFunction)}.
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/CircuitBreakerClient.java