public class HttpClientFactory extends Object
Also, we're currently ignoring the SSL checks. Please open a ticket/PR if you need robust SSL.
Modifier and Type | Field and Description |
---|---|
static String |
AES_ENV_VAR |
Constructor and Description |
---|
HttpClientFactory() |
public static final String AES_ENV_VAR
public HttpClientFactory() throws TikaConfigException
TikaConfigException
public String getProxyHost()
public void setProxyHost(String proxyHost)
public int getProxyPort()
public void setProxyPort(int proxyPort)
public void setAllowedHostsForRedirect(Set<String> allowedHostsForRedirect)
public int getMaxConnectionsPerRoute()
public void setMaxConnectionsPerRoute(int maxConnectionsPerRoute)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public int getRequestTimeout()
public void setRequestTimeout(int requestTimeout)
public int getConnectTimeout()
public void setConnectTimeout(int connectTimeout)
public int getSocketTimeout()
public void setSocketTimeout(int socketTimeout)
public int getKeepAliveOnBadKeepAliveValueMs()
public void setKeepAliveOnBadKeepAliveValueMs(int keepAliveOnBadKeepAliveValueMs)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public String getNtDomain()
public void setNtDomain(String ntDomain)
public String getAuthScheme()
public void setAuthScheme(String authScheme)
authScheme
- public org.apache.http.client.HttpClient build() throws TikaConfigException
TikaConfigException
public org.apache.http.conn.ConnectionKeepAliveStrategy getKeepAliveStrategy()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.