Interface HttpClientConfigInterceptor
-
public interface HttpClientConfigInterceptorAllows for interception during the creation of a new HttpClient. To register a custom singleton interceptor you must invokeHttpClientFactory.registerInterceptor(HttpClientConfigInterceptor)- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonClientCreate(org.apache.http.impl.client.HttpClientBuilder client, org.apache.http.client.config.RequestConfig.Builder requestConfig, Config config)This method is invoked prior to the HttpClientBuilder build is called allowing any overrides or custom configuration.
-
-
-
Method Detail
-
onClientCreate
void onClientCreate(org.apache.http.impl.client.HttpClientBuilder client, org.apache.http.client.config.RequestConfig.Builder requestConfig, Config config)This method is invoked prior to the HttpClientBuilder build is called allowing any overrides or custom configuration.- Parameters:
client- the http client builderrequestConfig- the request config builderconfig- the openstack4j config
-
-