Class SingleEndpointGoodDataRestProvider

java.lang.Object
com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
All Implemented Interfaces:
GoodDataRestProvider
Direct Known Subclasses:
LoginPasswordGoodDataRestProvider, SstGoodDataRestProvider

public abstract class SingleEndpointGoodDataRestProvider
extends java.lang.Object
implements GoodDataRestProvider
GoodDataRestProvider capable to be used with single API endpoint using the Apache HttpClient to perform HTTP operations. It provides following functionality:
  • Prepends the URI path with API endpoint (using UriPrefixingClientHttpRequestFactory
  • Configures ResponseErrorHandler
  • Configures connection according to GoodDataSettings
  • Set default headers from GoodDataSettings including User-Agent
  • Configures retries in case it's requested
To provide complete implementation, this class must be extended and descendants should implement own logic by providing GoodDataHttpClientBuilder to the constructor. Namely the authentication logic remains to be provided by descendants.