Resolves #22241
This commit is contained in:
Arjen Poutsma 2019-01-14 10:49:11 +01:00
parent 33cbe2e77a
commit bfff9ca0ce
1 changed files with 1 additions and 1 deletions

View File

@ -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);
----