使用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);
posted on 2020-08-21 13:57 songzhiwei613 阅读(315) 评论(0) 收藏 举报
浙公网安备 33010602011771号