Okay, fair enough. The reverse proxy example is probably a good start then. Is the example you are referring to NHttpReverseProxy.java?
-----Original Message----- From: corpaul [mailto:[EMAIL PROTECTED] Sent: 26 November 2008 16:06 To: [email protected] Subject: RE: Question about creating a simple HTTP proxy Hi, thanks for your message. I know of many other existing HTTP proxies but I want to be able to include it in my Java project rather than use an external application because I want a way to communicate with the proxy (e.g. notify when a request comes in, use the request in Java etc). CP Chris Lowe wrote: > > If it's just for debugging then I strongly recommend using the Charles > Web Debugging Proxy: > > http://www.charlesproxy.com/ > > If your Java programs are using JDK APIs then you can specify the > following VM argument "-Djava.net.useSystemProxies=true" and you > should see all traffic go through Charles. > > http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/ > pr > oxie_config.html > > Cheers, > > C. > -- View this message in context: http://www.nabble.com/Question-about-creating-a-simple-HTTP-proxy-tp2070 3487p20703888.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
