
SpringBoot
文章平均质量分 94
博晓战
这个作者很懒,什么都没留下…
展开
-
SpringBoot学习笔记2——源码分析(请求处理)
3、参数处理原理HandlerMapping中找到能处理请求的Handler(Controller.method()) 为当前Handler 找一个适配器 HandlerAdapter; RequestMappingHandlerAdapter适配器执行目标方法并确定方法参数的每一个值1、HandlerAdapter0 - 支持方法上标注@RequestMapping1 - 支持函数式编程的xxxxxx2、执行目标方法// Actually invok..原创 2021-07-01 15:49:29 · 540 阅读 · 0 评论 -
SpringBoot学习笔记1——基础入门
SpringBoot重新指定版本号,见注释部分默认的包结构主程序所在包及其下面的所有子包里面的组件都会被默认扫描进来 无需以前的包扫描配置想要改变扫描路径,@SpringBootApplication(scanBasePackages="com.atguigu")或者@ComponentScan 指定扫描路径 @SpringBootApplication 等同于 @SpringBootConfiguration...原创 2021-06-30 14:36:30 · 359 阅读 · 0 评论