hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: Interruption connections
Date Tue, 08 Jun 2004 16:48:13 GMT

Oliver,

Unfortunately there's no (standard and easy) way to interrupt execution of an HTTP method
in HttpClient 2.0. This limitation has been fixed in the unstable branch (HttpClient 3.0).
For the stable branch (HttpClient 2.0) there's no way around forking the stock version of
HttpClient or (if your application does not use multithreaded connection manager) implementing
your own connection manager

Sorry

Oleg

-----Original Message-----
From: Oliver Koell [mailto:listen@quimby.de]
Sent: Tuesday, June 08, 2004 18:34
To: Commons HttpClient Project
Subject: Interruption connections


Hi all,

i'm building a Swing app using HttpClient and, naturally, my users want
to be able to cancel slow HTTP requests (as in a Browser).

What would be the best way to accomplish this? Should i just interrupt
the HttpClient thread, or are there other (safer) methods to do this?

Thanks in advance

Oliver


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


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access to this
email by anyone other than the intended addressee is unauthorized.  If you are not the intended
recipient of this message, any review, disclosure, copying, distribution, retention, or any
action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. 
If you are not the intended recipient, please reply to or forward a copy of this message to
the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************

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


Mime
View raw message