public class AvaticaHttpClientFactoryImpl extends Object implements AvaticaHttpClientFactory
AvaticaHttpClientFactory which chooses an implementation
from a property.| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_CLIENT_IMPL_DEFAULT |
static AvaticaHttpClientFactoryImpl |
INSTANCE |
| Constructor and Description |
|---|
AvaticaHttpClientFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
AvaticaHttpClient |
getClient(URL url,
ConnectionConfig config,
KerberosConnection kerberosUtil)
Construct the appropriate implementation of
AvaticaHttpClient. |
static AvaticaHttpClientFactoryImpl |
getInstance()
Returns a singleton instance of
AvaticaHttpClientFactoryImpl. |
public static final String HTTP_CLIENT_IMPL_DEFAULT
public static final AvaticaHttpClientFactoryImpl INSTANCE
public static AvaticaHttpClientFactoryImpl getInstance()
AvaticaHttpClientFactoryImpl.public AvaticaHttpClient getClient(URL url, ConnectionConfig config, KerberosConnection kerberosUtil)
AvaticaHttpClientFactoryAvaticaHttpClient.getClient in interface AvaticaHttpClientFactoryurl - URL that the client is for.config - Configuration to use when constructing the implementation.AvaticaHttpClient.Copyright © 2012-2025 Apache Software Foundation. All Rights Reserved.