From 63962b1ff11b92f5dd11c03a39c09676596ab0a9 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 22 Jul 2010 09:31:01 +0000 Subject: [PATCH] Typo git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3498 50f2f4bb-b051-0410-bef5-90022cba6387 --- .../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 e067f77fbaf..9d5b23ce7bb 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 b8cd0886875..79094d7f4c2 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)