Module com.rabbitmq.http.client
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.
@Deprecated(since="4.0.0", forRemoval=true) @FunctionalInterface public interface OkHttpClientBuilderConfigurator
Deprecated, for removal: This API element is subject to removal in a future version.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 Deprecated Methods Modifier and Type Method Description okhttp3.OkHttpClient.Builder
configure(okhttp3.OkHttpClient.Builder builder)
Deprecated, for removal: This API element is subject to removal in a future version.Configure theOkHttpClient.Builder
.
-
-
-
Method Detail
-
configure
okhttp3.OkHttpClient.Builder configure(okhttp3.OkHttpClient.Builder builder)
Deprecated, for removal: This API element is subject to removal in a future version.Configure theOkHttpClient.Builder
.- Parameters:
builder
- incoming builder- Returns:
- configured builder, usually same instance as the parameter
-
-