Interface Apache5HttpClientBuilderConfigurator


@Contract public interface Apache5HttpClientBuilderConfigurator
A callback interface used to configure HttpClientBuilder. It is called immediately before the Apache5ConnectorProvider creates HttpClient, after the HttpClientBuilder is configured using the properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hc.client5.http.impl.classic.HttpClientBuilder
    configure(org.apache.hc.client5.http.impl.classic.HttpClientBuilder httpClientBuilder)
    A callback method to configure the HttpClientBuilder
  • Method Details

    • configure

      org.apache.hc.client5.http.impl.classic.HttpClientBuilder configure(org.apache.hc.client5.http.impl.classic.HttpClientBuilder httpClientBuilder)
      A callback method to configure the HttpClientBuilder
      Parameters:
      httpClientBuilder - HttpClientBuilder object to be further configured
      Returns:
      the configured HttpClientBuilder. If null is returned the httpClientBuilder is used by Apache5ConnectorProvider instead.