初始化httpclient的几种方式

1.CloseableHttpClient httpclient = HttpClients.createDefault(); 

2.DefaultHttpClient client = new DefaultHttpClient(new PoolingClientConnectionManager());

3.HttpClient httpclient = HttpClients.createDefault(); 

posted on 2016-01-05 11:39  乔叶叶  阅读(5112)  评论(0编辑  收藏  举报

导航