We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
飞机
The text was updated successfully, but these errors were encountered:
@leetomlee123 可以看看 Cicada 的实现。
Cicada
https://github.com/crossoverJie/cicada/blob/0f1023859a09f76a0266db7f8fe47672105fbff9/cicada-core/src/main/java/top/crossoverjie/cicada/server/handle/HttpHandle.java#L62-L70
不过当前只实现了拦截默认 action。
Spring 这样的是根据 动态代理 实现的,Cicada 后续也会加入这样的特性,请持续关注。
动态代理
Sorry, something went wrong.
@leetomlee123 Spring aop 也只是在方法的执行前添加了一个 List 列表而已,原理还是一致的,增加拦截器列表应该也有同样的效果,我也根据Spring的aop写了一个小小的动态代理
Spring aop
List
拦截器
No branches or pull requests
飞机
The text was updated successfully, but these errors were encountered: