为了账号安全,请及时绑定邮箱和手机立即绑定

HttpClient报错异常大神支援

HttpClient报错异常大神支援

龙藤蔓里 2016-01-22 18:12:15
HttpGet httpget = HttpGet(); CloseableHttpClient httpclient = HttpClients.(); CloseableHttpResponse response = response = httpclient.execute(httpget); HttpEntity entity = response.getEntity(); {     (entity != ) {         InputStream instream = entity.getContent();         {             instream.read();             } (IOException ex) {             ex;         } {             instream.close();         }     }{         Log.(,);     } } {     response.close(); }
查看完整描述

1 回答

?
GoogleLens

TA贡献5条经验 获得超1个赞

工具类挂了//img1.sycdn.imooc.com//56aafa2500017d4d06790061.jpg

查看完整回答
反对 回复 2016-01-29
  • 1 回答
  • 0 关注
  • 1543 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信