Browse Source

Fix typo

Resolves #22241
pull/22258/head
Arjen Poutsma 6 years ago
parent
commit
bfff9ca0ce
  1. 2
      src/docs/asciidoc/web/webflux-webclient.adoc

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

@ -265,7 +265,7 @@ as the following example shows: @@ -265,7 +265,7 @@ as the following example shows:
Mono<Person> 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);
----

Loading…
Cancel
Save