public class HttpClientFactory extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.http.client.HttpRequestRetryHandler |
httpRequestRetryHandler |
Constructor and Description |
---|
HttpClientFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.client.HttpClient |
create(ClientConfiguration configuration,
org.apache.http.HttpHost proxy) |
static org.apache.http.conn.ConnectionKeepAliveStrategy |
getConnectionKeepAliveStrategy() |
static void |
setConnectionKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy connectionKeepAliveStrategy) |
public static org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler
public static org.apache.http.client.HttpClient create(ClientConfiguration configuration, org.apache.http.HttpHost proxy)
public static org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()
public static void setConnectionKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy connectionKeepAliveStrategy)
Copyright © 2022. All rights reserved.