hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <mbe...@gmail.com>
Subject Re: working behind a proxy
Date Sun, 09 Oct 2005 19:17:12 GMT
Hi Sam,

HostConfiguration.setProxy() is where you want to start.  You can set
it per HttpClient instance via HttpClient.getHostConfiguration() or
per request by using HttpClient.executeMethod(hostConfig, method,
state).

Mike

On 10/9/05, Sam Hwang <samhng@gmail.com> wrote:
> Hi,
> I am working behind a proxy, when I use HttpClient it always timeout at the
> end. How can I configure it to adapt the proxy? Thx!
>
>

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


Mime
View raw message