URL url = new URL(nginxUrl + templateHtml.getPcHtml());
HttpURLConnection httpUrl = (HttpURLConnection) url.openConnection();
InputStream is = httpUrl.getInputStream();
URL url = new URL(nginxUrl + templateHtml.getPcHtml());
HttpURLConnection httpUrl = (HttpURLConnection) url.openConnection();
InputStream is = httpUrl.getInputStream();
本文标题:网址转为InputStream
本文链接:https://www.haomeiwen.com/subject/sywtbktx.html
网友评论