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 A852C73E5 for ; Tue, 6 Sep 2011 11:54:09 +0000 (UTC) Received: (qmail 68829 invoked by uid 500); 6 Sep 2011 11:54:07 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 68735 invoked by uid 500); 6 Sep 2011 11:53:55 -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 68723 invoked by uid 99); 6 Sep 2011 11:53:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 11:53:53 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 11:53:44 +0000 Received: from [192.168.42.77] (unknown [213.55.131.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 97E40245E486 for ; Tue, 6 Sep 2011 13:53:23 +0200 (CEST) Subject: Re: HttpClient as java.net.URLConnection From: Oleg Kalnichevski To: HttpClient User Discussion In-Reply-To: <32407259.post@talk.nabble.com> References: <32401921.post@talk.nabble.com> <32402722.post@talk.nabble.com> <32403107.post@talk.nabble.com> <32407259.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 06 Sep 2011 13:53:18 +0200 Message-ID: <1315309998.13113.6.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Tue, 2011-09-06 at 04:36 -0700, Juergen Weber wrote: > >> It's just my guess that HttpURLConnection is a commonly used class, so it > >> would offer itself to be replaced by another, better implementation. > > > > Yes, it is used a lot, but the API is very limited. > > Replacing the implementation won't fix the API. > > Limited it might be, but I guess HttpURLConnection is the defacto HTTP > Client for Java (java HttpURLConnection gives 385.000 hits on google). > > If HttpClient would provide a HttpURLConnection compatible implementation, > HttpClient could advertise with "Just plug in our HCHttpURLConnection and > you get a better HttpURLConnection without changing your code". > > Many users would be happy with the HttpURLConnection API, if only > HttpURLConnection would work with proxies and SSL without having to mess > with System Properties and Authenticators. > > Thanks, > Juergen Juergen You are very welcome to contribute such implementation. We'll happily take it. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org