Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D3B1D9310 for ; Fri, 13 Apr 2012 19:26:40 +0000 (UTC) Received: (qmail 10394 invoked by uid 500); 13 Apr 2012 19:26:40 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 10356 invoked by uid 500); 13 Apr 2012 19:26:40 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 10347 invoked by uid 99); 13 Apr 2012 19:26:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 19:26:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 19:26:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 523F6369433 for ; Fri, 13 Apr 2012 19:26:17 +0000 (UTC) Date: Fri, 13 Apr 2012 19:26:17 +0000 (UTC) From: "Clinton Nielsen (Commented) (JIRA)" To: dev@hc.apache.org Message-ID: <1655959253.23328.1334345177338.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1681120529.22294.1334329937065.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HTTPASYNC-17) org.apache.http.impl.client.cache.CachingHttpClient should have an nio counterpart: CachingHttpAsyncClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPASYNC-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253670#comment-13253670 ] Clinton Nielsen commented on HTTPASYNC-17: ------------------------------------------ Thanks. A note: Pay special attention to the @Override public Future execute(HttpAsyncRequestProducer httpAsyncRequestProducer, final HttpAsyncResponseConsumer httpAsyncResponseConsumer, final HttpContext httpContext, final FutureCallback futureCallback) { method, as we didn't need that one at all and so I didn't really properly research the correct way to turn a Future into a Future in a way that allowed the caller full control over the Future object (and the associated FutureCallback object). I think what I did will work, but I'm really not sure if it's right. > org.apache.http.impl.client.cache.CachingHttpClient should have an nio counterpart: CachingHttpAsyncClient > ----------------------------------------------------------------------------------------------------------- > > Key: HTTPASYNC-17 > URL: https://issues.apache.org/jira/browse/HTTPASYNC-17 > Project: HttpComponents HttpAsyncClient > Issue Type: New Feature > Environment: NA > Reporter: Clinton Nielsen > Priority: Minor > Fix For: 4.0-beta2 > > Attachments: AsynchronousAsyncValidationRequest.java, AsynchronousAsyncValidator.java, CachingHttpAsyncClient.java > > > org.apache.http.impl.client.cache.CachingHttpClient should have an nio counterpart: CachingHttpAsyncClient. > Since I needed the functionality for my own project, I went ahead and made the appropriate changes to CachingHttpClient to allow it to decorate an HttpAsyncClient. > I'm attaching the files here, for consideration for a future release. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org