String nonProxyHosts = proxy.getNonProxyHosts(); if ( nonProxyHosts == null )
String nonProxyHosts = proxy.getNonProxyHosts(); if ( nonProxyHosts == null )
String nonProxyHostsAsString = proxyInfo.getNonProxyHosts(); for (String nonProxyHost : StringUtils.split(nonProxyHostsAsString, ",;|")) { if (org.apache.commons.lang.StringUtils.contains(nonProxyHost, "*")) {
String nonProxyHostsAsString = proxyInfo.getNonProxyHosts(); for ( String nonProxyHost : StringUtils.split( nonProxyHostsAsString, ",;|" ) )
if ( proxyInfo.getNonProxyHosts() != null ) System.setProperty( "http.nonProxyHosts", proxyInfo.getNonProxyHosts() );
+ proxyInfo.getNonProxyHosts() );
+ proxyInfo.getNonProxyHosts() );
+ proxyInfoProvider.getProxyInfo( null ).getNonProxyHosts() );
+ proxyInfoProvider.getProxyInfo( null ).getNonProxyHosts() );
public void openConnection() throws ConnectionException, AuthenticationException { previousHttpsProxyHost = System.getProperty("https.proxyHost"); previousHttpsProxyPort = System.getProperty("https.proxyPort"); previousHttpsProxyExclusions = System.getProperty("https.nonProxyHosts"); final ProxyInfo proxyInfo = getProxyInfo("https", getRepository().getHost()); if (proxyInfo != null) { setSystemProperty("https.proxyHost", proxyInfo.getHost()); setSystemProperty("https.proxyPort", String.valueOf(proxyInfo.getPort())); setSystemProperty("https.nonProxyHosts", proxyInfo.getNonProxyHosts()); } else { setSystemProperty("https.proxyHost", null); setSystemProperty("https.proxyPort", null); } super.openConnection(); }
public void openConnection() throws ConnectionException, AuthenticationException { previousHttpsProxyHost = System.getProperty( "https.proxyHost" ); previousHttpsProxyPort = System.getProperty( "https.proxyPort" ); previousHttpsProxyExclusions = System.getProperty( "https.nonProxyHosts" ); final ProxyInfo proxyInfo = getProxyInfo( "https", getRepository().getHost() ); if ( proxyInfo != null ) { setSystemProperty( "https.proxyHost", proxyInfo.getHost() ); setSystemProperty( "https.proxyPort", String.valueOf( proxyInfo.getPort() ) ); setSystemProperty( "https.nonProxyHosts", proxyInfo.getNonProxyHosts() ); } else { setSystemProperty( "https.proxyHost", null ); setSystemProperty( "https.proxyPort", null ); } super.openConnection(); }
if ( networkProxy.getNonProxyHosts() != null ) msg += "; excluding hosts: " + networkProxy.getNonProxyHosts();
if ( networkProxy.getNonProxyHosts() != null ) msg += "; excluding hosts: " + networkProxy.getNonProxyHosts();
if ( networkProxy.getNonProxyHosts() != null ) msg += "; excluding hosts: " + networkProxy.getNonProxyHosts();
if ( networkProxy.getNonProxyHosts() != null ) msg += "; excluding hosts: " + networkProxy.getNonProxyHosts();
proxy.getPassword(), proxy.getNonProxyHosts() );