Fiddler2 java代码拦截设置

jre -DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888

Or:

jre -DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=8888 MyApp

Or, change the Java Virtual Machine's proxy settings programmatically:

System.setProperty("http.proxyHost", "127.0.0.1"); System.setProperty("https.proxyHost", "127.0.0.1"); System.setProperty("http.proxyPort", "8888"); System.setProperty("https.proxyPort", "8888");
posted @ 2013-07-02 09:01  大新博客  阅读(387)  评论(0编辑  收藏  举报