com.googlecode.googleplus.core
Class TokenRefreshingClientHttpRequestFactory
java.lang.Object
com.googlecode.googleplus.core.TokenRefreshingClientHttpRequestFactory
- All Implemented Interfaces:
- org.springframework.http.client.ClientHttpRequestFactory
public class TokenRefreshingClientHttpRequestFactory
- extends Object
- implements org.springframework.http.client.ClientHttpRequestFactory
|
Method Summary |
org.springframework.http.client.ClientHttpRequest |
createRequest(URI uri,
org.springframework.http.HttpMethod httpMethod)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenRefreshingClientHttpRequestFactory
public TokenRefreshingClientHttpRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory,
OAuth2RefreshCallback callback,
List<org.springframework.http.client.ClientHttpRequestInterceptor> requestInterceptors)
createRequest
public org.springframework.http.client.ClientHttpRequest createRequest(URI uri,
org.springframework.http.HttpMethod httpMethod)
throws IOException
- Specified by:
createRequest in interface org.springframework.http.client.ClientHttpRequestFactory
- Throws:
IOException
Copyright © 2014. All Rights Reserved.