From 60fa490b5082db33c9333645014b322136dcdab8 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 22 Jul 2010 09:31:01 +0000 Subject: [PATCH] Typo --- .../java/org/springframework/web/client/RestOperations.java | 2 +- .../main/java/org/springframework/web/client/RestTemplate.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.springframework.web/src/main/java/org/springframework/web/client/RestOperations.java b/org.springframework.web/src/main/java/org/springframework/web/client/RestOperations.java index e067f77fba..9d5b23ce7b 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/client/RestOperations.java +++ b/org.springframework.web/src/main/java/org/springframework/web/client/RestOperations.java @@ -247,7 +247,7 @@ public interface RestOperations { * @see HttpEntity * @since 3.0.2 */ - HttpEntity postForEntity(String url, Object request, Class responseType, Map uriVariables) + ResponseEntity postForEntity(String url, Object request, Class responseType, Map uriVariables) throws RestClientException; /** diff --git a/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java b/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java index b8cd088687..79094d7f4c 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java +++ b/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java @@ -302,7 +302,7 @@ public class RestTemplate extends HttpAccessor implements RestOperations { return execute(url, HttpMethod.POST, requestCallback, responseExtractor, uriVariables); } - public HttpEntity postForEntity(String url, + public ResponseEntity postForEntity(String url, Object request, Class responseType, Map uriVariables)