此项目为日常spring里知识点测试,以及相关spring在实际开发过程中的实现方案示例。
spring-boot-unified-exception-handing
:统一异常处理- 国际化支持:TODO尚未开始
spring-boot-testing
:测试模块性能测试某些方法,某些算法
spring-boot-profile
:springboot区分环境时的一些配置或特性spring-boot-logback
:logback使用集成spring-boot-request-param-mapping
:http请求参数接收示例spring-boot-response
:http接口返回参数示例spring-boot-web-threadlocal
: threadlocal实际使用spring-boot-filter
:Servlet Filter
的相关使用,用于一些Filter
的组件开发。spring-boot-jwt
:jwt
在springboot
下的示例spring-boot-doc
:spingboot里关于接口的处理spring-boot-swagger
:springboot中集成swagger3
spring-boot-pdf
:springboot集成pdf工具spring-boot-mybatis-plus
:springboot中集成mybatis-plusspring-boot-mybatis-plus-advance
:mybatis-plus的高级特性- 多数据源
- 动态表名
- 数据安全保护:配置信息加密
- `spring-boot-jpa:springboot中集成jpa
spring-boot-session
:springboot集成spring sessionspring-boot-cache
:springboot集成spring cache- `spring-boot-pg-connection:pgsql连接之后,数据库服务关闭客户端应用连接后,应用的反应,是否会重连等
spring-boot-aspectJ
:业务中使用aspectJ,以及改变返回值验证spring-boot-validation
:TODO 验证及自定义验证spring-boot-transaction
:事务使用(正确&错误的使用方式导致事务失效)spring-boot-file
:TODO 文件上传下载(断点续传等)spring-boot-threadpool
:添加线程池使用示例spring-boot-threadpool-actuator
:线程池Actuator监控spring-boot-httputil
:TODO http工具使用,httpclient调用httpserver接口spring-boot-activiti
:springboot集成activitispring-boot-redis
:springboot集成redisspring-boot-biz
: spring boot 验证biz上的一些best practicespring-boot-event
:spring boot 集成eventspring-boot-init
:spring boot 应用启动过程中,本身的一些配置或者触发事件spring-boot-netty
:spring boot集成netty,使用netty实现消息推送- `spring-boot-security:spring boot 集成security
spring-boot-cookie
: spring boot 测试返回cookie的设置spring-boot-jasypt
:jasypt配置加解密spring-boot-j2cache
:springboot 集成j2cachespring-boot-jdk-introspector
:java bean 内省机制spring-boot-fiaa
:Filter Interceptor AOP Advice 执行顺序- 安全问题:
spring-boot-sql-injection
:sql注入spring-boot-xss
:xss注入spring-boot-csrf
:csrf注入spring-boot-log4j-jndi-bug
:log4j jndi
漏洞演示及修复
- spring学习:
spring-ioc
spring-aop
spring-transaction
:TODO 尚未开始spring-event
:spring事件
- 公共组件类
spring-boot-offline
:基于aspectJ的http接口下线组件