public class HttpClientFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
org.apache.commons.httpclient.HttpClient |
getClient()
Returns HttpClient instance.
|
static HttpClientFactory |
getInstance() |
void |
setConcurrency(java.lang.String str)
Set concurrency value.
|
public static HttpClientFactory getInstance()
public org.apache.commons.httpclient.HttpClient getClient()
public void setConcurrency(java.lang.String str)
str
- -1 means unlimited HTTP connections.