hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christine <christ...@christine.nl>
Subject Re: httpclient timeout: https vs. http
Date Tue, 18 Nov 2008 16:57:06 GMT
On Tue, 2008-11-18 at 17:30 +0100, Christine wrote:

> How do I set a timeout on a connectionmanager in HttpClient 4.0? Does it
> have a default timeout?

Err, right. I found it. I use
params.setParameter(HttpConnectionParams.CONNECTION_TIMEOUT, 10000);
 
Christine - confused because her cat is very sick...

> > ---------------------------------------------------------------------
> > 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
View raw message