public final class LoginPasswordGoodDataRestProvider extends SingleEndpointGoodDataRestProvider
GoodDataRestProvider used internally by GoodData.
Provides configured single endpoint REST connection using standard GoodData login and password authentication.
See https://help.gooddata.com/display/API/API+Reference#/reference/authentication/log-inendpoint, httpClient, restTemplate, settings| Constructor and Description |
|---|
LoginPasswordGoodDataRestProvider(GoodDataEndpoint endpoint,
GoodDataSettings settings,
String login,
String password)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.client.HttpClient |
createHttpClient(org.apache.http.impl.client.HttpClientBuilder builder,
GoodDataEndpoint endpoint,
String login,
String password)
Creates http client using given builder and endpoint, authenticating by login and password.
|
createHttpClientBuilder, createRestTemplate, getDataStoreService, getEndpoint, getHttpClient, getRestTemplate, getSettingspublic LoginPasswordGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, String login, String password)
endpoint - endpoint of GoodData APIsettings - settingslogin - API user loginpassword - API user passwordpublic static org.apache.http.client.HttpClient createHttpClient(org.apache.http.impl.client.HttpClientBuilder builder,
GoodDataEndpoint endpoint,
String login,
String password)
builder - builder to build client fromendpoint - API endpoint to connect client tologin - loginpassword - passwordCopyright © 2019. All rights reserved.