httpclient FQ代理配置
httpclient版本 4.2x
BasicHttpParams params = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(params, 30000);
HttpConnectionParams.setSoTimeout(params, 30000);
HttpClient httpClient = new DefaultHttpClient(params);
HttpHost proxy = new HttpHost("127.0.0.1", 8087);
httpClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
以上代码 配合 goagent实现的