hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shushant Arora <shushantaror...@gmail.com>
Subject Re: callback handler cancelled method meaning
Date Tue, 26 Jan 2016 16:08:24 GMT
Thanks !

can this lead to duplicate if i retry a cancelled request. I mean is there
any guarantee that cancelled request is never reached to server .

On Tue, Jan 26, 2016 at 8:52 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Mon, 2016-01-25 at 16:45 +0530, Shushant Arora wrote:
> > I am using org.apache.http.impl.nio.client.CloseableHttpAsyncClient
> > (httpasyncclient-4.1.jar).
> >
> > In callbackof httpGet Request i.e FutureCallback<HttpResponse> there are
> 3
> > methods .
> >
> > When does cancelled() method being called ? Is cancelled does not mean
> > failure ?
> >
>
> #cancelled basically means operation was attempted (for instance, due to
> client shutdown) or canceled prematurely by the caller.
>
> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message