/** Set configuration values */ public void setConfig(HttpClientConfig config) { this.user = config.user() != null && !"".equals(config.user()) ? config.user() : null; this.pass = config.pass() != null && !"".equals(config.pass()) ? config.pass() : null; this.scopeport = config.scopeport() != null && !"".equals(config.scopeport()) ? config.scopeport() : 80; this.scopeserver = config.scopeserver() != null && !"".equals(config.scopeserver()) ? config.scopeserver() : null; this.timeout = config.timeout() != null && !"".equals(config.timeout()) ? config.timeout() : 30; }