parent
33cbe2e77a
commit
bfff9ca0ce
|
|
@ -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…
Reference in New Issue