Fix typo in WebClient example

Closes gh-14499
This commit is contained in:
DK Lee
2018-09-19 11:34:04 +02:00
committed by Stephane Nicoll
parent 6fba477d5e
commit 01cf52447c
@@ -5616,7 +5616,7 @@ The following code shows a typical example:
}
public Mono<Details> someRestCall(String name) {
return this.webClient.get().url("/{name}/details", name)
return this.webClient.get().uri("/{name}/details", name)
.retrieve().bodyToMono(Details.class);
}