Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 28318 invoked from network); 11 Jul 2005 19:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jul 2005 19:10:27 -0000 Received: (qmail 72599 invoked by uid 500); 11 Jul 2005 19:10:25 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 72572 invoked by uid 500); 11 Jul 2005 19:10:24 -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 72538 invoked by uid 99); 11 Jul 2005 19:10:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 12:10:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.212.94.12] (HELO blackhole.fatwire.com) (209.212.94.12) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 12:10:19 -0700 Received: by blackhole.fatwire.com with Internet Mail Service (5.5.2656.59) id <3NK3Z9XH>; Mon, 11 Jul 2005 15:10:18 -0400 Message-ID: From: "Kadlabalu, Hareesh" To: "'httpclient-user@jakarta.apache.org'" Subject: Externally configurable HttpParams Date: Mon, 11 Jul 2005 15:10:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5864C.2D46FA70" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C5864C.2D46FA70 Content-Type: text/plain Hi all, I am trying to build a framework where HttpParams can be configured externally. That is, I want to provide a set of property files, one for each level of the hierarchy and one for each http method type. The properties are read at run time and are applied to respective types (HttpClient, HttpConnectionManager, HttpConnection, HostConfiguration and HttpMethod). I am just wondering if I am duplicating some work that already exists. That is, some way to externally configure preferences (through property files, Java preferences will not work for me). I read went through the FAQ and "Preferences Architecture" section of the User Guide. Have I missed something? If any of you have ideas along these lines, your input is highly valued. Thanks -Hareesh ------_=_NextPart_001_01C5864C.2D46FA70--