public class ConnectionConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionConfiguration.Builder
Mutable builder.
|
| Constructor and Description |
|---|
ConnectionConfiguration() |
ConnectionConfiguration(com.google.common.base.Optional<Integer> timeout,
com.google.common.base.Optional<Integer> socketTimeout,
com.google.common.base.Optional<Integer> defaultConnectionsPerHost,
com.google.common.base.Optional<Integer> maxConnections,
Map<HTTPHost,Integer> connectionsPerHost) |
| Modifier and Type | Method and Description |
|---|---|
Map<HTTPHost,Integer> |
getConnectionsPerHost() |
com.google.common.base.Optional<Integer> |
getDefaultConnectionsPerHost() |
com.google.common.base.Optional<Integer> |
getMaxConnections() |
com.google.common.base.Optional<Integer> |
getSocketTimeout() |
com.google.common.base.Optional<Integer> |
getTimeout() |
public ConnectionConfiguration(com.google.common.base.Optional<Integer> timeout, com.google.common.base.Optional<Integer> socketTimeout, com.google.common.base.Optional<Integer> defaultConnectionsPerHost, com.google.common.base.Optional<Integer> maxConnections, Map<HTTPHost,Integer> connectionsPerHost)
public ConnectionConfiguration()
public com.google.common.base.Optional<Integer> getTimeout()
public com.google.common.base.Optional<Integer> getSocketTimeout()
public com.google.common.base.Optional<Integer> getDefaultConnectionsPerHost()
public com.google.common.base.Optional<Integer> getMaxConnections()
Copyright © 2008-2013. All Rights Reserved.