Modifier and Type | Class and Description |
---|---|
static class |
ConnectionConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static ConnectionConfig |
DEFAULT |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionConfig()
Intended for CDI compatibility
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionConfig |
clone() |
static ConnectionConfig.Builder |
copy(ConnectionConfig config) |
static ConnectionConfig.Builder |
custom() |
org.apache.hc.core5.util.Timeout |
getConnectTimeout() |
org.apache.hc.core5.util.Timeout |
getSocketTimeout() |
org.apache.hc.core5.util.TimeValue |
getTimeToLive() |
org.apache.hc.core5.util.TimeValue |
getValidateAfterInactivity() |
String |
toString() |
public static final ConnectionConfig DEFAULT
public org.apache.hc.core5.util.Timeout getSocketTimeout()
public org.apache.hc.core5.util.Timeout getConnectTimeout()
public org.apache.hc.core5.util.TimeValue getValidateAfterInactivity()
public org.apache.hc.core5.util.TimeValue getTimeToLive()
(TimeValue)
protected ConnectionConfig clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public static ConnectionConfig.Builder custom()
public static ConnectionConfig.Builder copy(ConnectionConfig config)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.