public interface ExtendedRestOperations
extends org.springframework.web.client.RestOperations
RestOperations| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExtendedRestOperations.ProxyResponse
Response handler for proxying a rest request.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getForObject(String url,
Class<T> responseType,
org.springframework.http.HttpHeaders headers,
Object... uriVariables)
Retrieve a representation by doing a GET on the specified URL.
|
int |
proxyRequest(ExtendedRestOperations.ProxyResponse proxyResponse,
String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpHeaders headers,
Object... uriVariables)
Proxies the response from a REST request, writing the status, headers and body to the
ExtendedRestOperations.ProxyResponse |
delete, delete, delete, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, headForHeaders, headForHeaders, headForHeaders, optionsForAllow, optionsForAllow, optionsForAllow, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put<T> T getForObject(String url, Class<T> responseType, org.springframework.http.HttpHeaders headers, Object... uriVariables) throws org.springframework.web.client.RestClientException
URI Template variables are expanded using the given URI variables, if any.
url - the URLheaders - headers to set on the requestresponseType - the type of the return valueuriVariables - the variables to expand the templateorg.springframework.web.client.RestClientExceptionRestOperations.getForObject(String, Class, Object...)int proxyRequest(ExtendedRestOperations.ProxyResponse proxyResponse, String url, org.springframework.http.HttpMethod method, org.springframework.http.HttpHeaders headers, Object... uriVariables) throws org.springframework.web.client.RestClientException
ExtendedRestOperations.ProxyResponseproxyResponse - response to write the results of the request tourl - the URLheaders - header to set on the requesturiVariables - the variables to expand the templateorg.springframework.web.client.RestClientExceptionCopyright © 2015 Jasig. All Rights Reserved.