public class OAuthClientHttpRequestFactory extends Object implements org.springframework.http.client.ClientHttpRequestFactory
Constructor and Description |
---|
OAuthClientHttpRequestFactory(org.springframework.http.client.ClientHttpRequestFactory delegate,
ProtectedResourceDetails resource,
OAuthConsumerSupport support) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.client.ClientHttpRequest |
createRequest(URI uri,
org.springframework.http.HttpMethod httpMethod) |
Map<String,String> |
getAdditionalOAuthParameters()
Any additional OAuth parameters to send with the OAuth request.
|
void |
setAdditionalOAuthParameters(Map<String,String> additionalOAuthParameters)
Any additional OAuth parameters to send with the OAuth request.
|
public OAuthClientHttpRequestFactory(org.springframework.http.client.ClientHttpRequestFactory delegate, ProtectedResourceDetails resource, OAuthConsumerSupport support)
public org.springframework.http.client.ClientHttpRequest createRequest(URI uri, org.springframework.http.HttpMethod httpMethod) throws IOException
createRequest
in interface org.springframework.http.client.ClientHttpRequestFactory
IOException
public Map<String,String> getAdditionalOAuthParameters()
Copyright © 2019. All rights reserved.