Package com.yahoo.jdisc.http.client
Class HttpClientConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.jdisc.http.client.HttpClientConfig
public final class HttpClientConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of http-client
Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static final class
This class represents http-client.ssl -
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getConfigMd5, getDefName, getDefNamespace, serialize, serialize, setConfigMd5
Methods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toString
Methods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_VERSION
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
HttpClientConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
getDefVersion
-
userAgent
- Returns:
- http-client.userAgent
-
chunkedEncodingEnabled
public boolean chunkedEncodingEnabled()- Returns:
- http-client.chunkedEncodingEnabled
-
compressionEnabled
public boolean compressionEnabled()- Returns:
- http-client.compressionEnabled
-
connectionPoolEnabled
public boolean connectionPoolEnabled()- Returns:
- http-client.connectionPoolEnabled
-
followRedirects
public boolean followRedirects()- Returns:
- http-client.followRedirects
-
removeQueryParamsOnRedirect
public boolean removeQueryParamsOnRedirect()- Returns:
- http-client.removeQueryParamsOnRedirect
-
sslConnectionPoolEnabled
public boolean sslConnectionPoolEnabled()- Returns:
- http-client.sslConnectionPoolEnabled
-
proxyServer
- Returns:
- http-client.proxyServer
-
useProxyProperties
public boolean useProxyProperties()- Returns:
- http-client.useProxyProperties
-
useRawUri
public boolean useRawUri()- Returns:
- http-client.useRawUri
-
compressionLevel
public int compressionLevel()- Returns:
- http-client.compressionLevel
-
maxNumConnections
public int maxNumConnections()- Returns:
- http-client.maxNumConnections
-
maxNumConnectionsPerHost
public int maxNumConnectionsPerHost()- Returns:
- http-client.maxNumConnectionsPerHost
-
maxNumRedirects
public int maxNumRedirects()- Returns:
- http-client.maxNumRedirects
-
maxNumRetries
public int maxNumRetries()- Returns:
- http-client.maxNumRetries
-
connectionTimeout
public double connectionTimeout()- Returns:
- http-client.connectionTimeout
-
idleConnectionInPoolTimeout
public double idleConnectionInPoolTimeout()- Returns:
- http-client.idleConnectionInPoolTimeout
-
idleConnectionTimeout
public double idleConnectionTimeout()- Returns:
- http-client.idleConnectionTimeout
-
idleWebSocketTimeout
public double idleWebSocketTimeout()- Returns:
- http-client.idleWebSocketTimeout
-
requestTimeout
public double requestTimeout()- Returns:
- http-client.requestTimeout
-
ssl
- Returns:
- http-client.ssl
-