上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_enabling_https.htm Spring Boot 应用默认以 HTTP 8080 端口启动。 你要在 Spring Boot 应用中执行以下步骤来配置 HTTP 阅读全文
posted @ 2020-09-14 11:19 码界行者 阅读(563) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_scheduling.htm 调度用来处理特定时间周期的任务。Spring Boot 为 Spring 应用编写调度器提供了良好的支持。 Java Cron 表达式 Jav 阅读全文
posted @ 2020-09-11 14:19 码界行者 阅读(414) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_internationalization.htm 国际化是一种处理机制,使得你的应用可以适配不同的语言和区域而无需更改源代码。换言之,国际化是为本地化而准备。 本文将带你学 阅读全文
posted @ 2020-09-10 14:24 码界行者 阅读(903) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_cors_support.htm 跨域资源共享 (CORS) 是一个安全概念,它允许在 web 浏览器中实现对资源访问的限制。它可避免 JavaScript 代码产生或消费 阅读全文
posted @ 2020-09-09 15:44 码界行者 阅读(335) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_consuming_restful_web_services.htm 本文将讨论如何使用 jQuery AJAX 来消费 RESTful Web 服务。 创建一个简单的 S 阅读全文
posted @ 2020-09-08 12:37 码界行者 阅读(260) 评论(0) 推荐(0)
摘要: 【注】本文译自:https://www.tutorialspoint.com/spring_boot/spring_boot_thymeleaf.htm Thymeleaf 是一个基于 Java 的库【译注:模板引擎】,可用于创建 web 应用。它对于 web 应用中的 XHTML/HTML5 提供 阅读全文
posted @ 2020-09-07 14:24 码界行者 阅读(396) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_service_components.htm 服务组件是包含 @Service 注解的类文件。这些类文件可用在与 @RestController 类文件所不同的层来编写业务 阅读全文
posted @ 2020-09-04 18:49 码界行者 阅读(353) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_file_handling.htm 本文学习如何使用 web 服务进行文件上传和下载。 文件上传 上传一个文件,可以使用 MultipartFile 作为请求参数,并且这个 阅读全文
posted @ 2020-09-03 13:34 码界行者 阅读(419) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_rest_template.htm Rest 模板用于创建消费 RESTful Web 服务的应用。你可以使用 exchange() 方法来消费所有 HTTP 方法的 we 阅读全文
posted @ 2020-09-02 10:44 码界行者 阅读(402) 评论(0) 推荐(0)
摘要: 【注】本文译自: https://www.tutorialspoint.com/spring_boot/spring_boot_servlet_filter.htm 过滤器是一种拦截应用中 HTTP 请求和响应的对象,使用过滤器,你可以执行以下两种情形下的两种操作: 在发送请求到到控制器之前 在发送 阅读全文
posted @ 2020-08-31 18:58 码界行者 阅读(273) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页