Thanks Oleg,
That's pretty much what I have implemented - but its a little bit
'approximate' if you're executing methods simultaneously.
I shall look forward to the 4.0 release :-).
regards
Tony
This feature is planned for inclusion in the next major release of
HttpClient (4.0):
http://issues.apache.org/bugzilla/show_bug.cgi?id=10815
Meanwhile, one can implement the required functionality by extending one
of the existing HttpConnectionManager classes. Basically all it appears
to take is a listener (list of listeners) and an aidditional test in
the HttpConnectionManager#getConnectionWithTimeout method:
HttpConnection conn = super.getConnectionWithTimeout(...);
boolean persistent = conn.isOpen();
callListeners(persistent);
Or something along this line
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]