代码设置
OkHttpClient client = new OkHttpClient();
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");
标签:HTTP,0.1,Charles,System,HTTPS,setProperty,Java
From: https://www.cnblogs.com/guanchaoguo/p/17864730.html