Interface GoodDataHttpClientBuilder

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GoodDataHttpClientBuilder
Custom GoodData http client builder providing custom functionality by descendants of SingleEndpointGoodDataRestProvider.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.http.client.HttpClient
    buildHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, GoodDataSettings settings)
    Builds HttpClient from given builder, configured to connect to given endpoint applying given settings.
  • Method Details

    • buildHttpClient

      org.apache.http.client.HttpClient buildHttpClient(org.apache.http.impl.client.HttpClientBuilder builder, GoodDataEndpoint endpoint, GoodDataSettings settings)
      Builds HttpClient from given builder, configured to connect to given endpoint applying given settings.
      Parameters:
      builder - pre-configured builder
      endpoint - endpoint of GoodData API
      settings - settings
      Returns:
      configured http client.