BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home

Charles Proxy is a really useful tool

daniel —Thu, 02/03/2011 - 3:35pm

  • Programming

Charles Proxy is a great tool, and I heartily recommend it to web developers. It allows you to see all the details of a web request (kind of like the live headers Mozilla plugin), but system wide. It is very useful when you're trying to figure out what parameters/etc are actually getting passed around. It even works with ssl requests.

To tell Groovy/Java to use the proxy, choose one:

Properties props= new Properties(System.getProperties());
props.put("http.proxySet", "true");
props.put("http.proxyHost", "localhost");
props.put("http.proxyPort", "8888");
Properties newprops = new Properties(props);
System.setProperties(newprops);

Or add these parameters to your invocation of java:
-Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber

  • Log in to post comments

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Sat, 09/09/2006 - 10:11am

If I had only known, I would have been a locksmith.

—

Albert Einstein

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • Installing Subversion on OpenBSD and Subversion Info
  • Grails MySql: No Dialect mapping for JDBC type: 3
  • Cake!
  • Run a single Maven Test
  • Zenburn and Proggy for GVim

Copyright 2019 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About