Reputation: 20916
Properties systemProps = System.getProperties();
//systemProps.put("proxySet", "true");
systemProps.put("proxyHost", "127.0.0.1");
systemProps.put("proxyPort", "8888");
When I open fiddler I can't see anything. Must I do something else? I use fiddler proxy for sending ws request.
Upvotes: 1
Views: 734
Reputation: 4799
Try starting the application with startup parameters
-DproxyHost=127.0.0.1 -DproxyPort=8888
if that helps, it is probable that your code is called too late or maybe not at all.
Upvotes: 1