public class ConnectionConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionConfiguration.Builder
Mutable builder.
|
| Constructor and Description |
|---|
ConnectionConfiguration() |
ConnectionConfiguration(Optional<Integer> timeout,
Optional<Integer> socketTimeout,
Optional<Integer> connectionRequestTimeout,
Optional<Integer> defaultConnectionsPerHost,
Optional<Integer> maxConnections,
Map<HTTPHost,Integer> connectionsPerHost) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Integer> |
getConnectionRequestTimeout() |
Map<HTTPHost,Integer> |
getConnectionsPerHost() |
Optional<Integer> |
getDefaultConnectionsPerHost() |
Optional<Integer> |
getMaxConnections() |
Optional<Integer> |
getSocketTimeout() |
Optional<Integer> |
getTimeout() |
public ConnectionConfiguration(Optional<Integer> timeout, Optional<Integer> socketTimeout, Optional<Integer> connectionRequestTimeout, Optional<Integer> defaultConnectionsPerHost, Optional<Integer> maxConnections, Map<HTTPHost,Integer> connectionsPerHost)
public ConnectionConfiguration()
Copyright © 2008–2017. All rights reserved.