W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2001

Creating HttpURLConnection properties programically

From: Schwarzhoff, Kelly <kelly.schwarzhoff@commerceone.com>
Date: Mon, 16 Apr 2001 18:23:23 -0400 (EDT)
Message-ID: <4C4A7BE77CE1D311A1D200508BA38C12040A1C19@venus.commerceone.com>
To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>

I am trying to use the "org.w3c.www.protocol.http.HttpURLConnection" classes
as my client-side HTTP library. As far s I can tlel, In order to configure
it (ex: what proxy to use), I have to set global system properties (like via
System.setProperty()). I am trying to find some way to avoid this, and set
the properties API-based that does not require static variables (like
System.setProperty()) as that is not thread safe. Is there any way to do
this? I want to use org.w3c.www.protocol.http.HttpManager class, but
unfortunately that class is "hidden" from me as an HttpURLConnection user.

Received on Tuesday, 17 April 2001 09:31:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:37 UTC