Interface ConfigManipulator


  • public interface ConfigManipulator
    author Pascal Knueppel
    created at: 09.01.2020 - 10:27

    an optional interface that may be used to manipulate the apache http client configuration before the http client is created
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void modifyHttpClientConfig​(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
      an optional method that may be used to manipulate the apache request configuration before the http client is created
      void modifyRequestConfig​(org.apache.http.client.config.RequestConfig.Builder requestConfig)
      an optional method that may be used to manipulate the apache http client configuration before the http client is created
    • Method Detail

      • modifyRequestConfig

        void modifyRequestConfig​(org.apache.http.client.config.RequestConfig.Builder requestConfig)
        an optional method that may be used to manipulate the apache http client configuration before the http client is created
        Parameters:
        requestConfig - the request configuration from apache
      • modifyHttpClientConfig

        void modifyHttpClientConfig​(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
        an optional method that may be used to manipulate the apache request configuration before the http client is created
        Parameters:
        clientBuilder - the http client builder from apache