[TYPO] [WEBCLIENT] Issue 7425: Fixed comments that referred to RestTemplate. (#7445)

* Issue 7425: Fixed comments that referred to RestTemplate.

* Ran genreate-samples.sh

* Re-ran generate-samples.sh against all configs.

* update samples

Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
dtiller 2020-09-19 00:07:35 -04:00 committed by GitHub
parent 29ed2342e5
commit 3f7a3f2b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -144,8 +144,8 @@ public class ApiClient{{#java8}} extends JavaTimeFormatter{{/java8}} {
}
/**
* Build the RestTemplate used to make HTTP requests.
* @return RestTemplate
* Build the WebClient used to make HTTP requests.
* @return WebClient
*/
public static WebClient buildWebClient(ObjectMapper mapper) {
ExchangeStrategies strategies = ExchangeStrategies

View File

@ -86,7 +86,7 @@
<version>${reactor-version}</version>
</dependency>
<!-- HTTP client: Spring RestTemplate -->
<!-- HTTP client: Spring WebFlux -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>

View File

@ -79,7 +79,7 @@
<version>${reactor-version}</version>
</dependency>
<!-- HTTP client: Spring RestTemplate -->
<!-- HTTP client: Spring WebFlux -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>

View File

@ -136,8 +136,8 @@ public class ApiClient extends JavaTimeFormatter {
}
/**
* Build the RestTemplate used to make HTTP requests.
* @return RestTemplate
* Build the WebClient used to make HTTP requests.
* @return WebClient
*/
public static WebClient buildWebClient(ObjectMapper mapper) {
ExchangeStrategies strategies = ExchangeStrategies