| Package | Description |
|---|---|
| io.searchbox.client.config |
| Modifier and Type | Method and Description |
|---|---|
HttpClientConfig.Builder |
HttpClientConfig.Builder.credentialsProvider(org.apache.http.client.CredentialsProvider credentialsProvider)
Set a custom instance of an implementation of
CredentialsProvider. |
HttpClientConfig.Builder |
HttpClientConfig.Builder.defaultCredentials(String username,
String password) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.defaultMaxTotalConnectionPerRoute(int defaultMaxTotalConnectionPerRoute) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.elasticsearchVersion(ElasticsearchVersion elasticsearchVersion) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.httpIOSessionStrategy(org.apache.http.nio.conn.SchemeIOSessionStrategy httpIOSessionStrategy)
Sets the socket factory that will be used by async client for HTTP scheme.
|
HttpClientConfig.Builder |
HttpClientConfig.Builder.httpsIOSessionStrategy(org.apache.http.nio.conn.SchemeIOSessionStrategy httpsIOSessionStrategy)
Sets the socket factory that will be used by async client for HTTPS scheme.
|
HttpClientConfig.Builder |
HttpClientConfig.Builder.maxTotalConnection(int maxTotalConnection) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.maxTotalConnectionPerRoute(org.apache.http.conn.routing.HttpRoute httpRoute,
int maxTotalConnection) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.maxTotalConnectionPerRoute(Map<org.apache.http.conn.routing.HttpRoute,Integer> maxTotalConnectionPerRoute) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.plainSocketFactory(org.apache.http.conn.socket.ConnectionSocketFactory socketFactory)
Sets the socket factory that will be used by sync client for HTTPS scheme.
|
HttpClientConfig.Builder |
HttpClientConfig.Builder.preemptiveAuthTargetHosts(Set<org.apache.http.HttpHost> preemptiveAuthTargetHosts)
Sets preemptive authentication for the specified set of target hosts by pre-populating an authentication data cache.
|
HttpClientConfig.Builder |
HttpClientConfig.Builder.proxy(org.apache.http.HttpHost proxy) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.proxy(org.apache.http.HttpHost proxy,
org.apache.http.client.AuthenticationStrategy proxyAuthenticationStrategy) |
HttpClientConfig.Builder |
HttpClientConfig.Builder.setPreemptiveAuth(org.apache.http.HttpHost targetHost)
Sets preemptive authentication for the specified target host by pre-populating an authentication data cache.
|
HttpClientConfig.Builder |
HttpClientConfig.Builder.sslSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory socketFactory)
Sets the socket factory that will be used by sync client for HTTP scheme.
|
| Constructor and Description |
|---|
HttpClientConfig(HttpClientConfig.Builder builder) |
Copyright © 2018. All rights reserved.