Class HttpClientFactoryImpl

    • Constructor Detail

      • HttpClientFactoryImpl

        public HttpClientFactoryImpl()
    • Method Detail

      • newHttpClient

        public HttpClient newHttpClient​(HttpClientConfig config)
        Description copied from interface: HttpClientFactory
        Creates a new instance of HttpClient and configures it according to the passed in configuration object.
        Specified by:
        newHttpClient in interface HttpClientFactory
        Parameters:
        config - the configuration for the new client
        Returns:
        the new HttpClient instance
      • newHttpClientAlt

        public HttpClient newHttpClientAlt​(HttpClientConfig config)
        Description copied from interface: HttpClientFactory
        Creates a new instance of HttpClient and configures it according to the passed in configuration object.
        Specified by:
        newHttpClientAlt in interface HttpClientFactory
        Parameters:
        config - the configuration for the new(native java) client
        Returns:
        the new HttpClient instance