GetClient { public void standard() throws IOException { HttpResponse response = null; HttpEntity entity = null; try { HttpGet get = new HttpGet(); String url = "http: get.setURI(new URI(url)); response = getHttpClient().execute(get); log.info("status:" + response.getStatusLine()); entity = response.getEntity(); String result = EntityUtils.toString(entity, "UTF-8"); log.info(result); } catch (Exception e) { log.error("" + e.getLocalizedMessage()); } finally { if (response != null) { EntityUtils.consume(entity); } } }  void quickget(); void get(); void get2(); HttpParams getHttpParams(); void standard();  }
@Test public void testStandard() throws Exception { getClient.standard(); }