Skip to content

Commit bfff9ca

Browse files
committed
Fix typo
Resolves #22241
1 parent 33cbe2e commit bfff9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/web/webflux-webclient.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ as the following example shows:
265265
Mono<Person> result = client.get()
266266
.uri("/persons/{id}", id).accept(MediaType.APPLICATION_JSON)
267267
.retrieve()
268-
.onStatus(HttpStatus::is4xxServerError, response -> ...)
268+
.onStatus(HttpStatus::is4xxClientError, response -> ...)
269269
.onStatus(HttpStatus::is5xxServerError, response -> ...)
270270
.bodyToMono(Person.class);
271271
----

0 commit comments

Comments
 (0)