From bfff9ca0ce4bcc515f1a30d988c723c1f31b8df0 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 14 Jan 2019 10:49:11 +0100 Subject: [PATCH] Fix typo Resolves #22241 --- src/docs/asciidoc/web/webflux-webclient.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/web/webflux-webclient.adoc b/src/docs/asciidoc/web/webflux-webclient.adoc index 0ada590ff6..06ecec01c8 100644 --- a/src/docs/asciidoc/web/webflux-webclient.adoc +++ b/src/docs/asciidoc/web/webflux-webclient.adoc @@ -265,7 +265,7 @@ as the following example shows: Mono result = client.get() .uri("/persons/{id}", id).accept(MediaType.APPLICATION_JSON) .retrieve() - .onStatus(HttpStatus::is4xxServerError, response -> ...) + .onStatus(HttpStatus::is4xxClientError, response -> ...) .onStatus(HttpStatus::is5xxServerError, response -> ...) .bodyToMono(Person.class); ----