public abstract class DefaultClientConfig extends java.lang.Object implements IClientConfig
| Constructor and Description |
|---|
DefaultClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
static IClientConfig |
createWithAuthenticationProvider(IAuthenticationProvider authenticationProvider)
Creates an instance of this configuration with an authentication provider
|
abstract IAuthenticationProvider |
getAuthenticationProvider()
Gets the authentication provider
|
IExecutors |
getExecutors()
Gets the executors
|
IHttpProvider |
getHttpProvider()
Gets the HTTP provider
|
<T1> IHttpProvider |
getHttpProvider(T1 httpClient)
Gets the HTTP provider
|
ILogger |
getLogger()
Gets the logger
|
ISerializer |
getSerializer()
Gets the serializer
|
public static IClientConfig createWithAuthenticationProvider(IAuthenticationProvider authenticationProvider)
authenticationProvider - the authentication providerpublic abstract IAuthenticationProvider getAuthenticationProvider()
getAuthenticationProvider in interface IClientConfigpublic IHttpProvider getHttpProvider()
getHttpProvider in interface IClientConfigpublic <T1> IHttpProvider getHttpProvider(T1 httpClient)
getHttpProvider in interface IClientConfigT1 - the http client typehttpClient - the http client to pass to the http provider when building itpublic ISerializer getSerializer()
getSerializer in interface IClientConfigpublic IExecutors getExecutors()
getExecutors in interface IClientConfigpublic ILogger getLogger()
getLogger in interface IClientConfig