public static Function<? super HttpClient, CircuitBreakerClient>
    newPerPathDecorator(Function<String, ? extends CircuitBreaker> factory,
                        CircuitBreakerRuleWithContent<HttpResponse> ruleWithContent) {
        return newDecorator(CircuitBreakerMapping.perPath(factory), ruleWithContent);
    }
Creates a new decorator that binds one {@link CircuitBreaker} per request path 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 request path and creates a new {@link CircuitBreaker}.
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/CircuitBreakerClient.java