hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: SoTimeout setting
Date Mon, 27 Oct 2003 15:02:18 GMT

linea@libero.it wrote:

> Does it mean that I can't set different timeouts for different methods 
> sharing the same client?

Exactly. HttpClient manages connections in a HttpConnectionManager. This 
can be a pool of connections. A method just requests connections from 
that pool, uses it and returns it. The Method does not open / close 
connections itself. So it is not the responsibility of the Method to set 
any connection properties. Furthermore it is not possible to change 
properties of an already open connection.

> If not, how can I arrange this?

Do things in the right place.

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

View raw message