public class HttpTransportFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_TIMEOUT |
static int |
CONNECTION_REQUEST_TIMEOUT |
static int |
DEFAULT_MAX_PER_ROUTE |
static int |
MAX_TOTAL |
static int |
SOCKET_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static HttpTransport |
createHttpTransport(HttpConfiguration.SSLProperties sslProperties,
RequestAuthHeaderProvider requestAuthHeaderProvider) |
static HttpTransport |
createHttpTransport(HttpConfiguration.SSLProperties sslProperties,
RequestAuthHeaderProvider requestAuthHeaderProvider,
org.apache.http.impl.client.HttpClientBuilder httpClientBuilder) |
static HttpTransport |
createHttpTransport(HttpConfiguration.SSLProperties sslProperties,
RequestAuthHeaderProvider requestAuthHeaderProvider,
org.apache.http.client.config.RequestConfig config) |
static org.apache.http.client.config.RequestConfig.Builder |
defaultRequestConfig() |
public static final int CONNECT_TIMEOUT
public static final int CONNECTION_REQUEST_TIMEOUT
public static final int SOCKET_TIMEOUT
public static final int MAX_TOTAL
public static final int DEFAULT_MAX_PER_ROUTE
public static HttpTransport createHttpTransport(HttpConfiguration.SSLProperties sslProperties, RequestAuthHeaderProvider requestAuthHeaderProvider, org.apache.http.impl.client.HttpClientBuilder httpClientBuilder)
public static HttpTransport createHttpTransport(HttpConfiguration.SSLProperties sslProperties, RequestAuthHeaderProvider requestAuthHeaderProvider, org.apache.http.client.config.RequestConfig config)
public static HttpTransport createHttpTransport(HttpConfiguration.SSLProperties sslProperties, RequestAuthHeaderProvider requestAuthHeaderProvider)
public static org.apache.http.client.config.RequestConfig.Builder defaultRequestConfig()
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.