Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF78A17C15 for ; Tue, 26 Jan 2016 15:22:34 +0000 (UTC) Received: (qmail 31758 invoked by uid 500); 26 Jan 2016 15:22:34 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 31718 invoked by uid 500); 26 Jan 2016 15:22:34 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 31706 invoked by uid 99); 26 Jan 2016 15:22:34 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 15:22:34 +0000 Received: from ok2c (84.76.106.92.dynamic.wline.res.cust.swisscom.ch [92.106.76.84]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id AB4651A003F for ; Tue, 26 Jan 2016 15:22:33 +0000 (UTC) Message-ID: <1453821746.13546.17.camel@apache.org> Subject: Re: callback handler cancelled method meaning From: Oleg Kalnichevski To: HttpClient User Discussion Date: Tue, 26 Jan 2016 16:22:26 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 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