Package com.rabbitmq.http.client
Interface OkHttpClientBuilderConfigurator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OkHttpClientBuilderConfigurator
Implementations of this interface can perform post-configuration ofOkHttpClient.Builder
used byClient
internally. Note thatOkHttpRestTemplateConfigurator
will configure all essential settings before invoking the configurator.OkHttpClientBuilderConfigurator
implementations typically customize request interceptors to set specific headers, proxy-related and TLS-related settings.- Since:
- 3.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description okhttp3.OkHttpClient.Builder
configure(okhttp3.OkHttpClient.Builder builder)
Configure theOkHttpClient.Builder
.
-