Merge pull request #14499 from origoni:fix-typo-webclient-exam

* pr/14499:
  Fix typo in WebClient example
This commit is contained in:
Stephane Nicoll
2018-09-19 11:34:30 +02:00

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