URLConnection conn = new URL(url).openConnection();//创建连接对象 InputStream is = conn.getInputStream();//执行url响应 is为响应结果。