hehongwei44 / my-blog

我的博客
MIT License
137 stars 12 forks source link

Spring Boot 过滤器、拦截器、监听器介绍 #244

Open hehongwei44 opened 6 years ago

hehongwei44 commented 6 years ago

filter功能,它使用户可以改变一个 request和修改一个response. Filter 不是一个servlet,它不能产生一个response,它能够在一个request到达servlet之前预处理request,也可以在离开 servlet时处理response.换种说法,filter其实是一个”servlet chaining”(servlet 链).

hehongwei44 commented 6 years ago

spring-boot使用教程(二):增加自定义filter(新): https://www.jianshu.com/p/05c8be17c80a

hehongwei44 commented 6 years ago

springboot中filter的用法(推荐): https://www.cnblogs.com/ll409546297/p/7422833.html

hehongwei44 commented 6 years ago

Spring Boot实战之Filter实现简单的Http Basic认证: http://blog.csdn.net/sun_t89/article/details/51916834

hehongwei44 commented 6 years ago

SpringBoot初始教程之Servlet、Filter、Listener配置(七):http://blog.csdn.net/king_is_everyone/article/details/53116744

hehongwei44 commented 6 years ago

Spring Boot 拦截器:http://blog.csdn.net/catoop/article/details/50501696

hehongwei44 commented 6 years ago

第六章:如何在SpringBoot项目中使用拦截器: https://www.jianshu.com/p/f69b21731b41

hehongwei44 commented 6 years ago

杨先森的博客 Spring Boot干货:静态资源和拦截器处理: https://www.cnblogs.com/yangxiansen/p/7859991.html

hehongwei44 commented 6 years ago

在spring-boot工程中添加spring mvc拦截器:https://www.jianshu.com/p/51c5193b5883