Package org.deltafi.common.http
Interface HttpClientCustomizer
public interface HttpClientCustomizer
Create a bean implementing this class to customize the HttpClient
created in
HttpServiceAutoConfiguration-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(HttpClient.Builder builder) Customize the HttpClient.Builder used to create HttpClient bean By default, the builder will add an SSLContext based onSslPropertiesand set the connectTimeout toHttpServiceAutoConfiguration.DEFAULT_CONNECT_TIMEOUT.
-
Method Details
-
customize
Customize the HttpClient.Builder used to create HttpClient bean By default, the builder will add an SSLContext based onSslPropertiesand set the connectTimeout toHttpServiceAutoConfiguration.DEFAULT_CONNECT_TIMEOUT.- Parameters:
builder- the HttpClient.Builder used to build the HttpClient bean
-