使用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  阅读(308)  评论(0编辑  收藏  举报

导航