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: callback handler cancelled method meaning
Date Tue, 26 Jan 2016 15:22:26 GMT
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
View raw message