@Override
public HttpClient createHttpClient(String host, int port,
int timeOutInMilliseconds, int poolSize, boolean autoFlush,
int flushRate,
boolean keepAlive, boolean pipeline,
boolean ssl,
boolean verifyHost,
boolean trustAll,
int maxWebSocketFrameSize,
boolean tryUseCompression,
String trustStorePath,
String trustStorePassword,
boolean tcpNoDelay,
int soLinger,
Consumer<Throwable> throwableConsumer) {
return FactorySPI.getHttpClientFactory().create(host, port,
timeOutInMilliseconds, poolSize, autoFlush, flushRate, keepAlive, pipeline,
ssl, verifyHost, trustAll, maxWebSocketFrameSize, tryUseCompression, trustStorePath,
trustStorePassword, tcpNoDelay, soLinger, throwableConsumer);
}
});