String url = baseUrl;
logger.info("checkIfTheFolderIsExist");
CloseableHttpClient httpClient = HttpClientBuilder.create().build();
URI uri = new URIBuilder()
.setPath(url)
.setParameter("token", token)
.setParameter("folderName", folderName)
.setParameter("folderId", folderId)
.build();
HttpGet get = new HttpGet(uri);
CloseableHttpResponse response = httpClient.execute(get);
logger.info(EntityUtils.toString(response.getEntity(), "utf-8"));

可参考 https://blog.csdn.net/justry_deng/article/details/81042379

https://www.cnblogs.com/Vdiao/p/5339487.html

最新文章

  1. NOIP2012国王游戏
  2. cocos IDE 编译lua 游戏程序的环境配置
  3. MVC 表单提交【转】
  4. 学习高博SLAM(1)
  5. IOS调试lldb命令常用,po,
  6. Python中数据的保存和读取
  7. YTU 2617: B C++时间类的运算符重载
  8. yeoman的学习
  9. MFC中快速应用OpenCV(转)
  10. bzoj1937
  11. 【XCode7+iOS9】http网路连接请求、MKPinAnnotationView自定义图片和BitCode相关错误--备用
  12. HNOI2008 and ZJOI2006 排名系统
  13. HttpURLConnection和HttpClient
  14. QQ_MultiTalkServer
  15. 矢量量化(VQ)
  16. Vue使用总结
  17. PHP 支持8种基本的数据类型
  18. Netty 5 io.netty.util.IllegalReferenceCountException 异常
  19. Design Principle, Design Patterns And Refactoring
  20. Synctoy2.1使用定时任务0X1

热门文章

  1. 网卡绑定(bonding)
  2. Storm实践(一):基础知识
  3. Web UI开发推荐!Kendo UI for jQuery自定义小部件——使用MVVM
  4. The Cost of JavaScript --------引用
  5. js获取服务器端时间
  6. Mysql存储时间字段
  7. 51 Nod 1272 简单思维题
  8. 洛谷 P1135 奇怪的电梯 (dfs)
  9. 灰度图像--图像分割 霍夫变换(Hough Transform)--直线
  10. 「CF525D」Arthur and Walls