Class LoginPasswordGoodDataRestProvider

java.lang.Object
com.gooddata.sdk.service.httpcomponents.SingleEndpointGoodDataRestProvider
com.gooddata.sdk.service.httpcomponents.LoginPasswordGoodDataRestProvider
All Implemented Interfaces:
GoodDataRestProvider

public final class LoginPasswordGoodDataRestProvider extends SingleEndpointGoodDataRestProvider
The default GoodDataRestProvider used internally by GoodData. Provides configured single endpoint REST connection using standard GoodData login and password authentication.

See ...

  • Constructor Details

    • LoginPasswordGoodDataRestProvider

      public LoginPasswordGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, String login, String password)
      Creates new instance.
      Parameters:
      endpoint - endpoint of GoodData API
      settings - settings
      login - API user login
      password - API user password
  • Method Details

    • createHttpClient

      public static org.apache.hc.client5.http.classic.HttpClient createHttpClient(org.apache.hc.client5.http.impl.classic.HttpClientBuilder builder, GoodDataEndpoint endpoint, String login, String password)
      Creates http client using given builder and endpoint, authenticating by login and password.
      Parameters:
      builder - builder to build client from
      endpoint - API endpoint to connect client to
      login - login
      password - password
      Returns:
      configured http client