On Thu, Dec 08, 2005 at 10:14:24AM +0600, Saminda Abeyruwan wrote:
> Hi devs,
> 
> Is there a way to shutdown the response for a request in HttpClient. For 
> example think about the fire-and-forget scenario of WSDL 2.0 defintion.
> 
> I'm working in the Axis2 project, and as the transport we use 
> HttpClient. We found it very defficult to implement  fire-and-forget 
> becase HttpClient is waiting for a response.
> 
> If i can shutdown the response then that would be a huge advantage of 
> implementing fire-and-forget. { This is one alternative we have. }
> 
> Pls be kind enough to provide me with a solution.
> 

Saminda

HttpMethod#abort() is probably what you want

Hope this helps

Oleg


> Thanks
> 
> Saminda
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to