Fix typo in WebClient example

Closes gh-14499
This commit is contained in:
DK Lee
2018-09-18 12:27:10 +09:00
committed by Stephane Nicoll
parent 6fba477d5e
commit 01cf52447c

View File

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