views:

15

answers:

0

I need to create a single http proxy connection and i don't want to use java common environment variables such as http.proxyHost and http.proxyPort (should i care about modifying them?).

There is an ibm jre, so i can't use sun.net.www.protocol.http.HttpURLConnection out of the box.

Is it a normal practice to store http.proxy* variables and restore after creating proxy connection?

Any other simple solutions (without using additional libraries)?