Class SstGoodDataRestProvider

    • Constructor Detail

      • SstGoodDataRestProvider

        public SstGoodDataRestProvider​(GoodDataEndpoint endpoint,
                                       GoodDataSettings settings,
                                       java.lang.String sst)
        Create SST REST provider
        Parameters:
        endpoint - endpoint of GoodData API
        settings - settings
        sst - super secure token
    • Method Detail

      • createHttpClient

        public static org.apache.http.client.HttpClient createHttpClient​(org.apache.http.impl.client.HttpClientBuilder builder,
                                                                         GoodDataEndpoint endpoint,
                                                                         java.lang.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