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 |
private static org.slf4j.Logger |
LOG |
static String |
SPNEGO_HTTP_CLIENT_IMPL_DEFAULT |
| 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. |
private AvaticaHttpClient |
instantiateClient(String className,
URL url) |
private boolean |
isUserPasswordAuth(AuthenticationType authType) |
private static final org.slf4j.Logger LOG
public static final String HTTP_CLIENT_IMPL_DEFAULT
public static final String SPNEGO_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.private AvaticaHttpClient instantiateClient(String className, URL url)
private boolean isUserPasswordAuth(AuthenticationType authType)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.