config.getProperties(), ClientProperties.PROXY_PASSWORD, String.class);
if (password != null) {
proxyProperties.setProperty(ProxyUtils.PROXY_PASSWORD, password);
}
}
ProxyServerSelector proxyServerSelector = ProxyUtils.createProxyServerSelector(proxyProperties);
builder.setProxyServerSelector(proxyServerSelector);
}
} else {
executorService = Executors.newCachedThreadPool();
builder.setExecutorService(executorService);