|
||||||||||
| 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.springframework.security.oauth.consumer.client.OAuthRestTemplate
public class OAuthRestTemplate
Rest template that is able to make OAuth-authenticated REST requests with the credentials of the provided resource.
| Field Summary |
|---|
| Fields inherited from class org.springframework.http.client.support.HttpAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
OAuthRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory,
ProtectedResourceDetails resource)
|
|
OAuthRestTemplate(ProtectedResourceDetails resource)
|
|
| Method Summary | |
|---|---|
ProtectedResourceDetails |
getResource()
|
OAuthConsumerSupport |
getSupport()
The support logic to use. |
void |
setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
|
void |
setSupport(OAuthConsumerSupport support)
The support logic to use. |
| 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, setInterceptors |
| Methods inherited from class org.springframework.http.client.support.HttpAccessor |
|---|
createRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthRestTemplate(ProtectedResourceDetails resource)
public OAuthRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory,
ProtectedResourceDetails resource)
| Method Detail |
|---|
public void setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
setRequestFactory in class org.springframework.http.client.support.HttpAccessorpublic ProtectedResourceDetails getResource()
public OAuthConsumerSupport getSupport()
public void setSupport(OAuthConsumerSupport support)
support - The support logic to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||