withCustomizer

open fun withCustomizer(customizer: Consumer<HttpClientBuilder>): HttpComponentsHttpClientBuilder

Return a new HttpComponentsHttpClientBuilder that applies additional customization to the underlying HttpClientBuilder.

Return

a new HttpComponentsHttpClientBuilder instance

Parameters

customizer

the customizer to apply