com.googlecode.googleplus.core
Class TokenRefreshingClientHttpRequestFactory

java.lang.Object
  extended by com.googlecode.googleplus.core.TokenRefreshingClientHttpRequestFactory
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestFactory

public class TokenRefreshingClientHttpRequestFactory
extends Object
implements org.springframework.http.client.ClientHttpRequestFactory


Constructor Summary
TokenRefreshingClientHttpRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory, OAuth2RefreshCallback callback, List<org.springframework.http.client.ClientHttpRequestInterceptor> requestInterceptors)
           
 
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
 

Constructor Detail

TokenRefreshingClientHttpRequestFactory

public TokenRefreshingClientHttpRequestFactory(org.springframework.http.client.ClientHttpRequestFactory requestFactory,
                                               OAuth2RefreshCallback callback,
                                               List<org.springframework.http.client.ClientHttpRequestInterceptor> requestInterceptors)
Method Detail

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.