hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: persistent connection on GET
Date Tue, 08 Jun 2010 13:28:14 GMT
On Mon, 2010-06-07 at 22:54 +0200, SZERB, Tamas wrote:
> Hello,
> 
> is there any way to keep alive the connection what has been
> established by GetMethod()?
> 
> Currently, using GetMethod gm = new GetMethod("http://ide/?ez=az")
> and I'd like to re-use the current connection by changing the `ez'
> parameter - as I've read the doc, I can't change the request line in
> GET in httpclient, so any idea?
> 

HttpClient since version 2.x keeps persistent connections alive per
default. There is no additional programming / configuration required.

Oleg


---------------------------------------------------------------------
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