From 8519a2d7058134aab52f2af72ef40f8815be3795 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 26 Jul 2010 08:00:43 +0000 Subject: [PATCH] Fixed execute -> exchange --- spring-framework-reference/src/remoting.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: