public void setNonProxyHosts( Set<String> nonProxyHosts ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setNonProxyHosts( new ArrayList<String>( nonProxyHosts ) ); }
public void setBlockInheritance( boolean val ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setBlockInheritance( val ); }
public void setPort( int port ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setProxyPort( port ); }
public void setHostname( String hostname ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setProxyHostname( hostname ); }
public void setProxyAuthentication( RemoteAuthenticationSettings proxyAuthentication ) { if ( !isEnabled() ) { initConfig(); } getCurrentConfiguration( true ).setAuthentication( authenticationInfoConverter .convertToModel( proxyAuthentication ) ); }