使用fiddler监测java发送 Http请求

HttpHost proxy = new HttpHost("127.0.0.1",8888);
RequestConfig requestConfig = RequestConfig.custom().setProxy(proxy).setSocketTimeout(10000).setConnectTimeout(10000).build();
httpPost.setConfig(requestConfig);

原文地址:https://www.cnblogs.com/sbk613/p/13540667.html