diff --git a/spring-framework-reference/src/remoting.xml b/spring-framework-reference/src/remoting.xml index 9b327207aa6..9603443588f 100644 --- a/spring-framework-reference/src/remoting.xml +++ b/spring-framework-reference/src/remoting.xml @@ -1495,11 +1495,11 @@ URI location = template.postForLocation(uri, booking, "1"); Dealing with request and response headers Besides the methods described above, the RestTemplate - also has the execute method, which can be + also has the exchange method, which can be used for arbitrary HTTP method execution based on the HttpEntity class. - Perhaps most importantly, the execute + Perhaps most importantly, the exchange method can be used to add request headers and read response headers. For example: