*/
public SystemProxyManager(
ProxyFactory factory,
SystemProperties systemProperties) {
this.systemProperties = systemProperties;
ProxyBuilder builder = factory.createProxyBuilder();
Proxy sysProxy = null;
Pattern exHostRE = null;
if (initialiseAddress(builder)) {
builder.setUser(getSystemPropertyAsString(HTTPSystemPropertyKeys.PROXY_USER));
builder.setPassword(getSystemPropertyAsString(HTTPSystemPropertyKeys.PROXY_PASSWORD));
sysProxy = builder.buildProxy();
// Get the list of hosts that do not require the use of a proxy. It is
// in the form of a glob list, i.e. uses * for wildcard and | for
// choices
exHostRE = compileExcludedHostList();