Class SstGoodDataRestProvider
- java.lang.Object
-
- com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
-
- com.gooddata.sdk.service.httpcomponents.SstGoodDataRestProvider
-
- All Implemented Interfaces:
GoodDataRestProvider
public final class SstGoodDataRestProvider extends SingleEndpointGoodDataRestProvider
TheGoodDataRestProvider, which provides configured single endpoint REST connection using standard pre created SST to authenticate.
-
-
Field Summary
-
Fields inherited from class com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
endpoint, httpClient, restTemplate, settings
-
-
Constructor Summary
Constructors Constructor Description SstGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, java.lang.String sst)Create SST REST provider
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.http.client.HttpClientcreateHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, java.lang.String sst)Creates http client using given builder and endpoint, authenticating by sst.-
Methods inherited from class com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
createHttpClientBuilder, createRestTemplate, getDataStoreService, getEndpoint, getHttpClient, getRestTemplate, getSettings
-
-
-
-
Constructor Detail
-
SstGoodDataRestProvider
public SstGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, java.lang.String sst)
Create SST REST provider- Parameters:
endpoint- endpoint of GoodData APIsettings- settingssst- super secure token
-
-
Method Detail
-
createHttpClient
public static org.apache.http.client.HttpClient createHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, java.lang.String sst)Creates http client using given builder and endpoint, authenticating by sst.- Parameters:
builder- builder to build client fromendpoint- API endpoint to connect client tosst- token used for authentication- Returns:
- configured http client
-
-