gpt4 book ai didi

cxf - 是否可以在同一阶段注册多个 CXF 拦截器?

转载 作者:行者123 更新时间:2023-12-04 23:28:33 39 4
gpt4 key购买 nike

我想为不同的目的注册不同的类,以便在同一阶段调用 (Phase.PRE_INVOKE)。是否可以?

最佳答案

看这里http://cxf.apache.org/docs/interceptors.html .

InterceptorChains are divided up into Phases. The phase that each interceptor runs in is declared in the interceptor's constructor. Each phase may contain many interceptors. On the incoming chains, you'll have the following phases:...

这么简短的回答:是的

关于cxf - 是否可以在同一阶段注册多个 CXF 拦截器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27521204/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com