Typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3498 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
4aa9dd55d3
commit
63962b1ff1
|
|
@ -247,7 +247,7 @@ public interface RestOperations {
|
||||||
* @see HttpEntity
|
* @see HttpEntity
|
||||||
* @since 3.0.2
|
* @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;
|
throws RestClientException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,7 @@ public class RestTemplate extends HttpAccessor implements RestOperations {
|
||||||
return execute(url, HttpMethod.POST, requestCallback, responseExtractor, uriVariables);
|
return execute(url, HttpMethod.POST, requestCallback, responseExtractor, uriVariables);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T> HttpEntity<T> postForEntity(String url,
|
public <T> ResponseEntity<T> postForEntity(String url,
|
||||||
Object request,
|
Object request,
|
||||||
Class<T> responseType,
|
Class<T> responseType,
|
||||||
Map<String, ?> uriVariables)
|
Map<String, ?> uriVariables)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue