@@ -1014,21 +1014,21 @@ RestTemplate has an asynchronous counter-part: see <<rest-async-resttemplate>>.
10141014
10151015| HEAD
10161016| {api-spring-framework}/web/client/RestTemplate.html#headForHeaders(String,%20Object...)[headForHeaders(String
1017- url, String... urlVariables )]
1017+ url, String... uriVariables )]
10181018
10191019| OPTIONS
10201020| {api-spring-framework}/web/client/RestTemplate.html#optionsForAllow(String,%20Object...)[optionsForAllow(String
1021- url, String... urlVariables )]
1021+ url, String... uriVariables )]
10221022
10231023| POST
10241024| {api-spring-framework}/web/client/RestTemplate.html#postForLocation(String,%20Object,%20Object...)[postForLocation(String
1025- url, Object request, String... urlVariables )]
1025+ url, Object request, String... uriVariables )]
10261026 {api-spring-framework}/web/client/RestTemplate.html#postForObject(java.lang.String,%20java.lang.Object,%20java.lang.Class,%20java.lang.String...)[postForObject(String
10271027 url, Object request, Class<T> responseType, String... uriVariables)]
10281028
10291029| PUT
10301030| {api-spring-framework}/web/client/RestTemplate.html#put(String,%20Object,%20Object...)[put(String
1031- url, Object request, String...urlVariables )]
1031+ url, Object request, String...uriVariables )]
10321032
10331033| PATCH and others
10341034| {api-spring-framework}/web/client/RestTemplate.html#exchange(java.lang.String,%20org.springframework.http.HttpMethod,%20org.springframework.http.HttpEntity,%20java.lang.Class,%20java.lang.Object...)[exchange]
@@ -1063,8 +1063,8 @@ template are `ByteArrayHttpMessageConverter`, `StringHttpMessageConverter`,
10631063defaults using the `messageConverters()` bean property as would be required if using the
10641064`MarshallingHttpMessageConverter` or `MappingJackson2HttpMessageConverter`.
10651065
1066- Each method takes URI template arguments in two forms, either as a `String` variable
1067- length argument or a `Map<String,String>`. For example,
1066+ Each method takes URI template arguments in two forms, either as a `String`
1067+ variable- length argument or a `Map<String,String>`. For example,
10681068
10691069[source,java,indent=0]
10701070[subs="verbatim,quotes"]
@@ -1073,7 +1073,7 @@ length argument or a `Map<String,String>`. For example,
10731073 "http://example.com/hotels/{hotel}/bookings/{booking}", String.class,"42", "21");
10741074----
10751075
1076- using variable length arguments and
1076+ using variable- length arguments and
10771077
10781078[source,java,indent=0]
10791079[subs="verbatim,quotes"]
@@ -1146,9 +1146,9 @@ method is invoked.
11461146[subs="verbatim,quotes"]
11471147----
11481148 public <T> T execute(String url, HttpMethod method, RequestCallback requestCallback,
1149- ResponseExtractor<T> responseExtractor, String... urlVariables )
1149+ ResponseExtractor<T> responseExtractor, String... uriVariables )
11501150
1151- // also has an overload with urlVariables as a Map<String, String>.
1151+ // also has an overload with uriVariables as a Map<String, String>.
11521152----
11531153
11541154The `RequestCallback` interface is defined as
@@ -1173,7 +1173,7 @@ other method arguments.
11731173For each of the main HTTP methods, the `RestTemplate` provides variants that either take
11741174a String URI or `java.net.URI` as the first argument.
11751175
1176- The String URI variants accept template arguments as a String variable length argument
1176+ The String URI variants accept template arguments as a String variable- length argument
11771177or as a `Map<String,String>`. They also assume the URL String is not encoded and needs
11781178to be encoded. For example the following:
11791179
0 commit comments