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)
AvaticaHttpClientFactory
AvaticaHttpClient
.getClient
in interface AvaticaHttpClientFactory
url
- URL that the client is for.config
- Configuration to use when constructing the implementation.AvaticaHttpClient
.Copyright © 2012-2024 Apache Software Foundation. All Rights Reserved.