Attempted read from closed stream.
最近项目中用到 HttpClient ,代码如下,我用的是 get的方式:
public static String get() throws IOException, InterruptedException {
CloseableHttpClient httpclient = HttpClients.createDefault();
HttpEnti...
原创
2018-03-01 09:27:13 ·
725 阅读 ·
0 评论