我的第一个没有代码的Java服务:我的第一个没有代码的Java服务-源码

上传者: 42120550 | 上传时间: 2021-02-22 18:06:14 | 文件大小: 17KB | 文件类型: ZIP
计算器API 该API是使用Java实现的简单计算器Web服务。 它以类似于以下格式的端点缓存其计算结果: / add / {a} / {b} / {c} / subtract / {a} / {b} / {c} / multiply / {a} / {b} / {c} / divide / {a} / {b} 对于加,减和乘运算,计算器端点应在同一调用中支持最多三个数字的输入。 每个端点应支持GET方法,并且应以JSON格式返回结果。 如果对相同编号的同一操作进行的调用不止一个,则应从缓存中返回结果,而不是重新计算结果。

文件下载

资源详情

[{"title":"( 22 个子文件 17KB ) 我的第一个没有代码的Java服务:我的第一个没有代码的Java服务-源码","children":[{"title":"my-first-no-code-java-service-master","children":[{"title":"pom.xml <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"img","children":[{"title":"README.md <span style='color:#111;'> 1B </span>","children":null,"spread":false}],"spread":true},{"title":"_config.yml <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 112B </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"pull_request_template.md <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"java-maven-api-master.yml <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"java-maven-api-feature.yml <span style='color:#111;'> 322B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"work","children":[{"title":"controller","children":[{"title":"CalculatorControllerIntegrationTest.java <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"CalculatorServiceTest.java <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"work","children":[{"title":"Application.java <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"GlobalErrorController.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"ResultResource.java <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"CalculatorController.java <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"exception","children":[{"title":"DivisionByZeroException.java <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"WrongNumberOfArgumentsException.java <span style='color:#111;'> 170B </span>","children":null,"spread":false}],"spread":false},{"title":"CalculatorService.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"steps.md <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 686B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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