git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3498 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Arjen Poutsma 2010-07-22 09:31:01 +00:00
parent 4aa9dd55d3
commit 63962b1ff1
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ public interface RestOperations {
* @see HttpEntity
* @since 3.0.2
*/
<T> HttpEntity<T> postForEntity(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables)
<T> ResponseEntity<T> postForEntity(String url, Object request, Class<T> responseType, Map<String, ?> uriVariables)
throws RestClientException;
/**

View File

@ -302,7 +302,7 @@ public class RestTemplate extends HttpAccessor implements RestOperations {
return execute(url, HttpMethod.POST, requestCallback, responseExtractor, uriVariables);
}
public <T> HttpEntity<T> postForEntity(String url,
public <T> ResponseEntity<T> postForEntity(String url,
Object request,
Class<T> responseType,
Map<String, ?> uriVariables)