GetClient { public void quickget(){ CloseableHttpClient httpclient = HttpClients.createDefault(); CloseableHttpResponse response = null; HttpGet httpGet = new HttpGet("http: try { response = httpclient.execute(httpGet); HttpEntity entity = response.getEntity(); String content = EntityUtils.toString(entity, "utf-8"); log.info(content); } catch (IOException e) { e.printStackTrace(); } }  void quickget(); void get(); void get2(); HttpParams getHttpParams(); void standard();  }
@Test public void testQuickget() throws Exception { getClient.quickget(); }