基于Springboot的Forest调用第三方API Demo

上传者: 38233258 | 上传时间: 2021-04-17 21:02:20 | 文件大小: 246KB | 文件类型: ZIP
采用Forest、Okhttp、HttpClient三种方式调用高德地图第三方API,简单易用

文件下载

资源详情

[{"title":"( 72 个子文件 246KB ) 基于Springboot的Forest调用第三方API Demo","children":[{"title":"Forest","children":[{"title":"httpclient","children":[{"title":"src","children":[{"title":"test","children":[{"title":"test.iml <span style='color:#111;'> 932B </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"httpclient","children":[{"title":"test","children":[{"title":"HttpClientUtilsTest.java <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"main.iml <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"templates","children":null,"spread":false},{"title":"static","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"httpclient","children":[{"title":"pojo","children":[{"title":"Place.java <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"HttpClientResult.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"HttpClientApplication.java <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"HttpClientController.java <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"HttpClientUtils.java <span style='color:#111;'> 11.17KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"httpclient.iml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"xy","children":[{"title":"httpclient","children":[{"title":"pojo","children":[{"title":"HttpClientResult.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"Place.class <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"HttpClientController.class <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"HttpClientApplication.class <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"util","children":[{"title":"HttpClientUtils.class <span style='color:#111;'> 8.44KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"httpclient","children":[{"title":"test","children":[{"title":"HttpClientUtilsTest.class <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"MavenWrapperDownloader.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"maven-wrapper.jar <span style='color:#111;'> 49.52KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"Technical_Forest.iml <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"okhttp","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"okhttp","children":[{"title":"OkhttpApplicationTests.java <span style='color:#111;'> 404B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"templates","children":null,"spread":false},{"title":"static","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"okhttp","children":[{"title":"pojo","children":[{"title":"Place.java <span style='color:#111;'> 282B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"OkHttpController.java <span style='color:#111;'> 861B </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"OkHttpUtil.java <span style='color:#111;'> 5.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"OkHttpConfiguration.java <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"OkhttpApplication.java <span style='color:#111;'> 306B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"com","children":[{"title":"xy","children":[{"title":"okhttp","children":[{"title":"pojo","children":[{"title":"Place.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"OkHttpController.class <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"OkhttpApplication.class <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"util","children":[{"title":"OkHttpUtil.class <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"OkHttpConfiguration.class <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"OkHttpConfiguration$1.class <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"okhttp","children":[{"title":"OkhttpApplicationTests.class <span style='color:#111;'> 526B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"MavenWrapperDownloader.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"maven-wrapper.jar <span style='color:#111;'> 49.52KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 701B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 977B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 16.51KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"jarRepositories.xml <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":true},{"title":"forest","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"forest","children":[{"title":"ForestApplicationTests.java <span style='color:#111;'> 205B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"templates","children":null,"spread":false},{"title":"banner.txt <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"images","children":[{"title":"test-img.jpg <span style='color:#111;'> 16.86KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"application.yml <span style='color:#111;'> 946B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"forest","children":[{"title":"pojo","children":[{"title":"Place.java <span style='color:#111;'> 282B </span>","children":null,"spread":false}],"spread":false},{"title":"client","children":[{"title":"MyClient.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"ForestApplication.java <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"interceptors","children":[{"title":"ApiClientInterceptor.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"api","children":[{"title":"ForestController.java <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"forest","children":[{"title":"pojo","children":[{"title":"Place.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"client","children":[{"title":"MyClient.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"interceptors","children":[{"title":"ApiClientInterceptor.class <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"api","children":[{"title":"ForestController.class <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"ForestApplication.class <span style='color:#111;'> 844B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"banner.txt <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"static","children":[{"title":"images","children":[{"title":"test-img.jpg <span style='color:#111;'> 16.86KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"application.yml <span style='color:#111;'> 946B </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"xy","children":[{"title":"forest","children":[{"title":"ForestApplicationTests.class <span style='color:#111;'> 531B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"MavenWrapperDownloader.java <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"maven-wrapper.jar <span style='color:#111;'> 49.52KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 426B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明