mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Typo
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user