return createInstance(config,
new DefaultSSLContextFactory(defaultSSLContextFactoryConfig),
objectMapperFactory,
new DefaultClientTransactionIdStrategy(),
new DefaultTransactionLogHandler(defaultTransactionLogHandlerConfig,
objectMapperFactory.createInstance()));
}
private Client createRESTClient(final DNSAPIClientConfig config,
final ObjectMapper mapper,
final SSLContextFactory sslContextFactory) throws Exception {