Thread local socks proxy library for java?

C

Chorg

Hello all,
I am doing some work with socks proxies, and i am looking for a
library that would allow me to set my proxies on a per thread basis.

I am using java 1.4 for this, and i am aware that i can set the system
property to do this:

System.setProperty( "proxySet", "true" );
System.setProperty( "http.proxyHost", "xxx" );
System.setProperty( "http.proxyPort", "xxx" );


However, from my understanding, this would set a value for the entire
JVM. what i want is to set the proxy local to a thread. Can anyone
suggest some good libraries available to do this?

thx
chorg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top