spring mvc 扩展 标签解析

spring mvc 标签解析
InterceptorsBeanDefinitionParser http://www.cnblogs.com/fangjian0423/p/springMVC-interceptor.html

https://blog.csdn.net/gufachongyang02/article/details/43836105

https://blog.csdn.net/wangdachui95345/article/details/52083602

inteceptor
https://www.cnblogs.com/kangoroo/p/7652484.html

两者的本质区别:拦截器(Interceptor)是基于Java的反射机制,而过滤器(Filter)是基于函数回调。从灵活性上说拦截器功能更强大些,Filter能做的事情,都能做,而且可以在请求前,请求后执行,比较灵活。Filter主要是针对URL地址做一个编码的事情、过滤掉没用的参数、安全校验(比较泛的,比如登录不登录之类),太细的话,还是建议用interceptor。不过还是根据不同情况选择合适的。

源码分析
https://www.cnblogs.com/leftthen/p/5209875.html
https://www.cnblogs.com/xxzhuang/p/5847724.html

http://blog.51cto.com/dba10g/1877527

posted @ 2018-11-23 17:34  antball  阅读(192)  评论(0编辑  收藏  举报