Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 64612 invoked from network); 31 Jan 2007 17:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 17:20:29 -0000 Received: (qmail 15096 invoked by uid 500); 31 Jan 2007 17:20:30 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 15035 invoked by uid 500); 31 Jan 2007 17:20:30 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 14995 invoked by uid 99); 31 Jan 2007 17:20:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 09:20:30 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.227.126.177] (HELO moutng.kundenserver.de) (212.227.126.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 09:20:20 -0800 Received: from [85.180.4.150] (helo=[85.180.4.150]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1HCJ7n03RS-00071M; Wed, 31 Jan 2007 18:19:59 +0100 Message-ID: <45C0CFB7.4070900@dubioso.net> Date: Wed, 31 Jan 2007 18:19:51 +0100 From: Roland Weber User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070102 SeaMonkey/1.0.7 MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: HttpClient & custom host names resolving References: <45BA783B.4090509@dubioso.net> <45BE13FE.5070605@dubioso.net> <45BF81E9.50909@dubioso.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:4601b1d39ab4ddfc21c613822e406392 X-Provags-ID2: V01U2FsdGVkX1+eOOxU6/pAe4c7LJzZ34qRDiulJ/MMD6hXIcOuMffCin3p5l6c42RYRaU5VigzYEJWidGIxC4/n2tX0kdzJxIAW6mWbVWxqkmYVr+d6XElGw== X-Virus-Checked: Checked by ClamAV on apache.org Hello Erwan, > I'm still wondering how to select the appropriate > Protocol once registered, but i'll find out :-) Either you let the application use the alias, like http1://.. instead of http://..., or else you modify HttpClient to twist the protocol of the URLs it gets. Then you can create multiple HttpClients, and each one changes the protocol to a different value, thereby triggering selection of a different implementation. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org