static RetryRuleBuilder builder(
            BiPredicate<? super ClientRequestContext, ? super RequestHeaders> requestHeadersFilter) {
        return new RetryRuleBuilder(requireNonNull(requestHeadersFilter, "requestHeadersFilter"));
    }
Returns a newly created {@link RetryRuleBuilder} with the specified {@code requestHeadersFilter}.
core/src/main/java/com/linecorp/armeria/client/retry/RetryRule.java