public interface HttpClientFactory
DefaultHttpClients.| Modifier and Type | Method and Description |
|---|---|
org.apache.http.impl.client.DefaultHttpClient |
createHttpClient()
Creates a
DefaultHttpClient and sets a default timeout and user agent for it. |
org.apache.http.impl.client.DefaultHttpClient |
createHttpClient(java.lang.Integer connectionTimeout,
java.lang.Integer readTimeout,
java.lang.String userAgent)
Creates a
DefaultHttpClient and sets a timeout for it. |
org.apache.http.impl.client.DefaultHttpClient createHttpClient()
DefaultHttpClient and sets a default timeout and user agent for it.DefaultHttpClient The created client.org.apache.http.impl.client.DefaultHttpClient createHttpClient(java.lang.Integer connectionTimeout,
java.lang.Integer readTimeout,
java.lang.String userAgent)
DefaultHttpClient and sets a timeout for it.connectionTimeout - The connection timeout in milliseconds.readTimeout - The connection timeout in milliseconds.userAgent - The user agentDefaultHttpClient The created client.