|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.http.client.support.HttpAccessor
org.springframework.http.client.support.InterceptingHttpAccessor
org.springframework.web.client.RestTemplate
org.jasig.springframework.web.client.ExtendedRestTemplate
public class ExtendedRestTemplate
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jasig.springframework.web.client.ExtendedRestOperations |
|---|
ExtendedRestOperations.ProxyResponse |
| Field Summary |
|---|
| Fields inherited from class org.springframework.http.client.support.HttpAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
ExtendedRestTemplate()
|
|
ExtendedRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
|
|
| Method Summary | ||
|---|---|---|
|
getForObject(String url,
Class<T> responseType,
org.springframework.http.HttpHeaders headers,
Object... urlVariables)
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... urlVariables)
Proxies the response from a REST request, writing the status, headers and body to the ExtendedRestOperations.ProxyResponse |
|
void |
setInterceptors(List<org.springframework.http.client.ClientHttpRequestInterceptor> interceptors)
|
|
| Methods inherited from class org.springframework.web.client.RestTemplate |
|---|
delete, delete, delete, doExecute, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, getMessageConverters, headForHeaders, headForHeaders, headForHeaders, optionsForAllow, optionsForAllow, optionsForAllow, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put, setErrorHandler, setMessageConverters |
| Methods inherited from class org.springframework.http.client.support.InterceptingHttpAccessor |
|---|
getInterceptors, getRequestFactory |
| Methods inherited from class org.springframework.http.client.support.HttpAccessor |
|---|
createRequest, setRequestFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.web.client.RestOperations |
|---|
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 |
| Constructor Detail |
|---|
public ExtendedRestTemplate()
public ExtendedRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
| Method Detail |
|---|
public final void setInterceptors(List<org.springframework.http.client.ClientHttpRequestInterceptor> interceptors)
setInterceptors in class org.springframework.http.client.support.InterceptingHttpAccessor
public <T> T getForObject(String url,
Class<T> responseType,
org.springframework.http.HttpHeaders headers,
Object... urlVariables)
throws org.springframework.web.client.RestClientException
ExtendedRestOperationsURI Template variables are expanded using the given URI variables, if any.
getForObject in interface ExtendedRestOperationsurl - the URLresponseType - the type of the return valueheaders - headers to set on the requesturlVariables - the variables to expand the template
org.springframework.web.client.RestClientExceptionRestOperations.getForObject(String, Class, Object...)
public int proxyRequest(ExtendedRestOperations.ProxyResponse proxyResponse,
String url,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpHeaders headers,
Object... urlVariables)
throws org.springframework.web.client.RestClientException
ExtendedRestOperationsExtendedRestOperations.ProxyResponse
proxyRequest in interface ExtendedRestOperationsproxyResponse - response to write the results of the request tourl - the URLheaders - header to set on the requesturlVariables - the variables to expand the template
org.springframework.web.client.RestClientException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||