编程语言
首页 > 编程语言> > Spring filter interceptor controllerAdvice aspect controller调用顺序

Spring filter interceptor controllerAdvice aspect controller调用顺序

作者:互联网

如图:请求进来 会按照 filter -> interceptor -> controllerAdvice -> aspect -> controller的顺序调用

当controller返回异常 也会按照controller -> aspect -> controllerAdvice -> interceptor -> filter来依次抛出
————————————————
版权声明:本文为CSDN博主「莫明的编织者」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u010681191/article/details/82907958

 

标签:controllerAdvice,Spring,filter,controller,aspect,版权,interceptor
来源: https://www.cnblogs.com/xiluhua/p/15072080.html