public class OAuthRestTemplate extends org.springframework.web.client.RestTemplate
Constructor and Description |
---|
OAuthRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory,
ProtectedResourceDetails resource) |
OAuthRestTemplate(ProtectedResourceDetails resource) |
Modifier and Type | Method and Description |
---|---|
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.
|
acceptHeaderRequestCallback, delete, delete, delete, doExecute, exchange, exchange, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, getMessageConverters, getUriTemplateHandler, handleResponse, headersExtractor, headForHeaders, headForHeaders, headForHeaders, httpEntityCallback, httpEntityCallback, optionsForAllow, optionsForAllow, optionsForAllow, patchForObject, patchForObject, patchForObject, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put, responseEntityExtractor, setDefaultUriVariables, setErrorHandler, setMessageConverters, setUriTemplateHandler
public OAuthRestTemplate(ProtectedResourceDetails resource)
public OAuthRestTemplate(org.springframework.http.client.ClientHttpRequestFactory requestFactory, ProtectedResourceDetails resource)
public void setRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory)
setRequestFactory
in class org.springframework.http.client.support.HttpAccessor
public ProtectedResourceDetails getResource()
public OAuthConsumerSupport getSupport()
public void setSupport(OAuthConsumerSupport support)
support
- The support logic to use.Copyright © 2019. All rights reserved.