hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohamed AbuZur" <amja...@gmail.com>
Subject Re: httpclient timeout: https vs. http
Date Tue, 18 Nov 2008 17:15:42 GMT
I Have this code in my application:


HttpClient client = new HttpClient();

        client.getParams().setConnectionManagerTimeout(timeOut);
        client.getParams().setSoTimeout(timeOut);

client.getHttpConnectionManager().getParams().setConnectionTimeout(timeOut);





On Tue, Nov 18, 2008 at 5:30 PM, Christine <christine@christine.nl> wrote:

> On Wed, 2008-11-05 at 14:00 +0100, Oleg Kalnichevski wrote:
> > ssion.
> >
> > You may also want to consider upgrading to HttpClient 4.0
>
> How do I set a timeout on a connectionmanager in HttpClient 4.0? Does it
> have a default timeout?
>
> Christine
>
>
>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
> --
> dagdag is just a two character rotation of byebye
> www.christine.nl
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message