姜源の云笔记
  • 首页
  • 分类
  • 工具
  • 标签
  • 归档
  • 关于
  • Docsify
  •   

05_SpringBoot 拦截器

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 自定义拦截器类123456789101112131415161718192021222324252627import org.omg.Portable
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #拦截器

08_SpringBoot+FreeMarker

官方文档: http://freemarker.foofun.cn/toc.html 参考资料: https://www.cnblogs.com/itdragon/p/7750903.html FreeMarker 是一款 模板引擎: 即一种基于模板和要改变的数据, 并用来生成输出文本(HTML网页,电子邮件,配置文件,源代码等)的通用工具。 它不是面向最终用户的,而是一个Java类库,是一款
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #FreeMarker #模板引擎

10_SpringBoot+Quartz

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 导入依赖1234<dependency> <groupId>org.springframework.boot</g
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Quartz

03_SpringBoot 异常+日志

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 全局异常处理SpringBoot 中的异常处理: 1.1 测试类123456789101112131415161718import com.demo.
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #日志 #异常

09_SpringBoot+Thymeleaf

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. Thymeleaf 模板引擎Thymeleaf :Java 模板引擎,模板格式.html Freemarker、JSP差不多 文本:直接输出的的
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #模板引擎 #Thymeleaf

11_SpringBoot+EasyExcel

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html EasyExcel官网:https://alibaba-easyexcel.github.io/index.html 迁移到新网站:https://www
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #EasyExcel

07_SpringBoot+Redis

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. 导入依赖1234<dependency> <groupId>org.springframework.boot</g
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Redis

14_SpringBoot 跨域方案

三种解决方案,任一即可。 1. 跨域过滤器 跨域过滤器:实现 Filter 接口 重写 doFilter() 方法 12345678910111213141516171819202122import org.springframework.stereotype.Component;import javax.servlet.*;import javax.servlet.annotation.We
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #跨域

12_SpringBoot+Swagger

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html 1. swagger 简介现在开发,很多采用前后端分离的模式,前端只负责调用接口,进行渲染,前端和后端的唯一联系,变成了API接口。因此,API文档变得越来
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #Swagger

04_SpringBoot 过滤器+监听器

参考资料:https://www.springcloud.cc/spring-boot.html 中文文档2:https://felord.cn/_doc/_springboot/2.1.5.RELEASE/_book/index.html SpringBoot 中 Filter 过滤器、Listener 监听器用法相同。 1. 创建过滤器12345678910111213import ja
2018-06-20
08_框架技术 > 04_SpringBoot
#SpringBoot #过滤器 #监听器
…2425262728293031323334…
CSDN GitHub Hexo Fluid
总访问量(PV) 次, 总访客数(UV) 人