|
|
@ -575,10 +575,10 @@ public class TestRestTemplate {
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @return the converted object
|
|
|
|
* @return the converted object
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
|
|
|
|
* @since 1.4.4
|
|
|
|
* @see HttpEntity
|
|
|
|
* @see HttpEntity
|
|
|
|
* @since 1.4.3
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
<T> T patchForObject(String url, Object request, Class<T> responseType,
|
|
|
|
public <T> T patchForObject(String url, Object request, Class<T> responseType,
|
|
|
|
Object... uriVariables) throws RestClientException {
|
|
|
|
Object... uriVariables) throws RestClientException {
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType, uriVariables);
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType, uriVariables);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -598,10 +598,10 @@ public class TestRestTemplate {
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @return the converted object
|
|
|
|
* @return the converted object
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
|
|
|
|
* @since 1.4.4
|
|
|
|
* @see HttpEntity
|
|
|
|
* @see HttpEntity
|
|
|
|
* @since 1.4.3
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
<T> T patchForObject(String url, Object request, Class<T> responseType,
|
|
|
|
public <T> T patchForObject(String url, Object request, Class<T> responseType,
|
|
|
|
Map<String, ?> uriVariables) throws RestClientException {
|
|
|
|
Map<String, ?> uriVariables) throws RestClientException {
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType, uriVariables);
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType, uriVariables);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -618,10 +618,10 @@ public class TestRestTemplate {
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @param <T> the type of the return value
|
|
|
|
* @return the converted object
|
|
|
|
* @return the converted object
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
* @throws RestClientException on client-side HTTP error
|
|
|
|
|
|
|
|
* @since 1.4.4
|
|
|
|
* @see HttpEntity
|
|
|
|
* @see HttpEntity
|
|
|
|
* @since 1.4.3
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
<T> T patchForObject(URI url, Object request, Class<T> responseType)
|
|
|
|
public <T> T patchForObject(URI url, Object request, Class<T> responseType)
|
|
|
|
throws RestClientException {
|
|
|
|
throws RestClientException {
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType);
|
|
|
|
return this.restTemplate.patchForObject(url, request, responseType);
|
|
|
|
|
|
|
|
|
|
|
|