public class NetworkConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private int |
maxTotal
maximum total external http connections.
|
private int |
maxTotalPerHost
maximum total external http connections per host.
|
private boolean |
usePooling
use or not http connection pooling default true.
|
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.
|
private int maxTotal
private int maxTotalPerHost
private boolean usePooling
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–2022 The Apache Software Foundation. All rights reserved.