Interface ConfigManipulator
public interface ConfigManipulator
author Pascal Knueppel
created at: 09.01.2020 - 10:27
an optional interface that may be used to manipulate the apache http client configuration before the http client is created
created at: 09.01.2020 - 10:27
an optional interface that may be used to manipulate the apache http client configuration before the http client is created
-
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyHttpClientConfig(org.apache.http.impl.client.HttpClientBuilder clientBuilder) an optional method that may be used to manipulate the apache request configuration before the http client is createdvoidmodifyRequestConfig(org.apache.http.client.config.RequestConfig.Builder requestConfig) an optional method that may be used to manipulate the apache http client configuration before the http client is created
-
Method Details
-
modifyRequestConfig
void modifyRequestConfig(org.apache.http.client.config.RequestConfig.Builder requestConfig) an optional method that may be used to manipulate the apache http client configuration before the http client is created- Parameters:
requestConfig- the request configuration from apache
-
modifyHttpClientConfig
void modifyHttpClientConfig(org.apache.http.impl.client.HttpClientBuilder clientBuilder) an optional method that may be used to manipulate the apache request configuration before the http client is created- Parameters:
clientBuilder- the http client builder from apache
-