commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HTTPClient] 3.0 Unsettings proxy
Date Mon, 31 Jan 2005 13:49:10 GMT
On Mon, Jan 31, 2005 at 12:39:48AM -0800, Kedar Panse wrote:
> How do i unset a proxy for a client object? Using 
> client.getHostConfiguration().setProxy(proxyhost, proxyport);
> will setting it to blank work and a valid way? I want to skip to next 
> proxy if 1 doesnt work
> 

client.setHostConfiguration(new HttpConfiguration())

should do the trick

Oleg


> Thanks in advance
> 
> Kedar
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message