网址转为InputStream

              URL url = new URL(nginxUrl + templateHtml.getPcHtml());
              HttpURLConnection httpUrl = (HttpURLConnection) url.openConnection();
              InputStream is = httpUrl.getInputStream();

你可能感兴趣的:(网址转为InputStream)