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
The GoodDataRestProvider, which provides configured single endpoint REST connection using standard pre created SST to authenticate.
  • Constructor Details

    • SstGoodDataRestProvider

      public SstGoodDataRestProvider(GoodDataEndpoint endpoint, GoodDataSettings settings, String sst)
      Create SST REST provider
      Parameters:
      endpoint - endpoint of GoodData API
      settings - settings
      sst - super secure token
  • 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 sst)
      Creates http client using given builder and endpoint, authenticating by sst.
      Parameters:
      builder - builder to build client from
      endpoint - API endpoint to connect client to
      sst - token used for authentication
      Returns:
      configured http client