CloseableHttpClient httpclient = HttpClients.createDefault();
HttpGet httpget = new HttpGet("http://tcc.taobao.com/cc/json/mobile_tel_segment_htm?tel=138888888888");
CloseableHttpResponse response = null;
response = httpclient.excute(httpget);
System.out.println(response.getStatusLine());
response.close();
也可根据junit和testng进行改造,以便进行测试~