public class NetworkConfiguration extends Object implements Serializable
| Constructor and Description |
|---|
NetworkConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxTotal()
Get maximum total external http connections.
|
int |
getMaxTotalPerHost()
Get maximum total external http connections per host.
|
boolean |
isUsePooling()
Get use or not http connection pooling default true.
|
void |
setMaxTotal(int maxTotal)
Set maximum total external http connections.
|
void |
setMaxTotalPerHost(int maxTotalPerHost)
Set maximum total external http connections per host.
|
void |
setUsePooling(boolean usePooling)
Set use or not http connection pooling default true.
|
public NetworkConfiguration()
public int getMaxTotal()
public int getMaxTotalPerHost()
public boolean isUsePooling()
public void setMaxTotal(int maxTotal)
maxTotal - public void setMaxTotalPerHost(int maxTotalPerHost)
maxTotalPerHost - public void setUsePooling(boolean usePooling)
usePooling - Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.