网址转为InputStream

2022-03-10  本文已影响0人  wsj1211
              URL url = new URL(nginxUrl + templateHtml.getPcHtml());
              HttpURLConnection httpUrl = (HttpURLConnection) url.openConnection();
              InputStream is = httpUrl.getInputStream();
上一篇 下一篇

猜你喜欢

热点阅读