码迷,mamicode.com
首页 > 其他好文 > 详细

远程访问

时间:2014-06-06 11:45:51      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:c   blog   a   http   tar   get   

HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(baseUrl + action);
HttpResponse response = httpclient.execute(httpget);
retStr = EntityUtils.toString(response.getEntity());

 

所用到的jar 包:httpcore httpclient
http://www.cnblogs.com/Wen-yu-jing/p/3552154.html

远程访问,布布扣,bubuko.com

远程访问

标签:c   blog   a   http   tar   get   

原文地址:http://www.cnblogs.com/Wen-yu-jing/p/3767233.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!