public SELF onStatus(BiPredicate<? super ClientRequestContext, ? super HttpStatus> statusFilter) {
        requireNonNull(statusFilter, "statusFilter");
        onResponseHeaders((ctx, headers) -> statusFilter.test(ctx, headers.status()));
        return self();
    }
Adds the specified {@code statusFilter}.

<p>When this is used for a {@link CircuitBreakerRule}, and the response status  matches the specified
{@code statusFilter}, a {@link Response} is reported as a success or failure to a
{@link CircuitBreaker} or ignored depending on the build methods({@code #thenSuccess()},
{@code #thenFailure()} and {@code #thenIgnore()}).
core/src/main/java/com/linecorp/armeria/client/AbstractRuleBuilder.java