Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 75816 invoked from network); 29 Jan 2007 20:09:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2007 20:09:39 -0000 Received: (qmail 78503 invoked by uid 500); 29 Jan 2007 20:09:44 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 78494 invoked by uid 500); 29 Jan 2007 20:09:44 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 78485 invoked by uid 99); 29 Jan 2007 20:09:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 12:09:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [62.2.95.247] (HELO smtp.hispeed.ch) (62.2.95.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jan 2007 12:09:34 -0800 Received: from [192.168.1.102] (84-75-116-76.dclient.hispeed.ch [84.75.116.76]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.11/taifun-1.0) with ESMTP id l0TK9D7d009006 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 29 Jan 2007 21:09:13 +0100 Subject: Re: [HttpConn] Scheme From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: <45BE1848.6060009@dubioso.net> References: <45BC6D30.7010908@dubioso.net> <1170017092.6355.55.camel@okhost> <45BE1848.6060009@dubioso.net> Content-Type: text/plain Date: Mon, 29 Jan 2007 21:09:12 +0100 Message-Id: <1170101352.5247.3.camel@okhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on smtp-03.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-03.tornado.cablecom.ch 1378; Body=1 Fuz1=1 Fuz2=1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2007-01-29 at 16:52 +0100, Roland Weber wrote: > Hi Oleg, > > > SchemeRegistry maybe? > > Yes, that's better. > > > I think scheme ID is still needed, if we want to be able to support > > custom scheme aliases. Aliased schemes can be very handy when dealing > > with different SSL contexts, for instance. > > > > myhttps1 (some custom SSL settings) -> https > > myhttps2 (some other custom SSL settings) -> https > > Where would the Scheme ID (or rather name) come into play? Roland, It is necessary when sending requests through a non-transparent proxy, where a full request URI is required. Oleg > Is there some URL transformation logic in HttpClient 3 that > would change myhttps1:// into https:// after the scheme (or > Protocol in 3.x) is looked up? Then I'll have to find a place > for that, too. > > If we find it necessary, I'll add a > > void registerAlias(String alias, Scheme schm) > > to the SchemeRegistry class. That would give us a good place > for explanatory JavaDocs. > > cheers, > Roland > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org