`
文章列表

网络编程

    博客分类:
  • J2SE
URL url = new URL(path); // GET 必须大写 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); // 超时 5秒 conn.setReadTimeout(5 * 1000); InputStream is = conn.getInputStream(); ...
Global site tag (gtag.js) - Google Analytics