实现类代码
public HotPoint getData() throws Exception {
String urlStr = "http://xxxxx.cn";
URL url = new URL(urlStr);
URLConnection conn = url.openConnection();
conn.connect();
InputStream is = conn.getInputStream();
String inStr = StreamUtils.InputStreamTOString(is);
System.out.println(inStr);
is.close();
}