We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cbe2e commit bfff9caCopy full SHA for bfff9ca
src/docs/asciidoc/web/webflux-webclient.adoc
@@ -265,7 +265,7 @@ as the following example shows:
265
Mono<Person> result = client.get()
266
.uri("/persons/{id}", id).accept(MediaType.APPLICATION_JSON)
267
.retrieve()
268
- .onStatus(HttpStatus::is4xxServerError, response -> ...)
+ .onStatus(HttpStatus::is4xxClientError, response -> ...)
269
.onStatus(HttpStatus::is5xxServerError, response -> ...)
270
.bodyToMono(Person.class);
271
----
0 commit comments