In that case, Apache TCPMon http://ws.apache.org/commons/tcpmon/tcpmontutorial.html
is written in Java. On 26/11/2008, corpaul <[EMAIL PROTECTED]> wrote: > > 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-tp20703487p20703888.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]
