Class SstGoodDataRestProvider
java.lang.Object
com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
com.gooddata.sdk.service.httpcomponents.SstGoodDataRestProvider
- All Implemented Interfaces:
GoodDataRestProvider
The
GoodDataRestProvider, 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
ConstructorsConstructorDescriptionSstGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, String sst) Create SST REST provider -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.http.client.HttpClientcreateHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, 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 Details
-
SstGoodDataRestProvider
Create SST REST provider- Parameters:
endpoint- endpoint of GoodData APIsettings- settingssst- super secure token
-
-
Method Details
-
createHttpClient
public static org.apache.http.client.HttpClient createHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, 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
-