I'd like to configure a simple restlet client (such as the following) to use a proxy so that I can use the Charles web debugger with it:
public class MyJSEClient { public static void main( String[] args ) throws Exception { ClientResource res = new ClientResource( "http://myServerIP:8111/" ); Representation rep = res.get(); try { System.out.println( rep.getText() ); } catch ( Exception ex ) { System.out.println( "Exception: " + ex.getMessage() ); } } } I'd like to configure the client to use http://myServerIP:8888 as a proxy, since Charles is running on the same machine as the RESTful server and is listening on port 8888. Any idea how to do this? Thx! Mike. -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/Configure-a-restlet-client-to-use-a-proxy-tp6400794p6400794.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2747085