withCustomizer

open fun withCustomizer(customizer: Consumer<HttpClient.Builder>): JdkHttpClientBuilder

Return a new JdkHttpClientBuilder that applies additional customization to the underlying java.net.http.HttpClient.Builder.

Return

a new JdkHttpClientBuilder instance

Parameters

customizer

the customizer to apply