摘要: 由于URLConnection没有找到关闭对象的方法,所以选择了HttpURLConnection 类 一、get方式发送请求的代码 public String sendGet(String url) { String message1 = ""; BufferedReader in = null; 阅读全文