public final class SstGoodDataRestProvider extends SingleEndpointGoodDataRestProvider
GoodDataRestProvider, which
provides configured single endpoint REST connection using standard pre created SST to authenticate.endpoint, httpClient, restTemplate, settings| Constructor and Description |
|---|
SstGoodDataRestProvider(GoodDataEndpoint endpoint,
GoodDataSettings settings,
String sst)
Create SST REST provider
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
createHttpClientBuilder, createRestTemplate, getDataStoreService, getEndpoint, getHttpClient, getRestTemplate, getSettingspublic SstGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, String sst)
endpoint - endpoint of GoodData APIsettings - settingssst - super secure tokenpublic static org.apache.http.client.HttpClient createHttpClient(org.apache.http.impl.client.HttpClientBuilder builder,
GoodDataEndpoint endpoint,
String sst)
builder - builder to build client fromendpoint - API endpoint to connect client tosst - token used for authenticationCopyright © 2019. All rights reserved.