初始化httpclient的几种方式

1.CloseableHttpClient httpclient = HttpClients.createDefault(); 

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

3.HttpClient httpclient = HttpClients.createDefault(); 

你可能感兴趣的:(初始化httpclient的几种方式)