Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to register more than one CXF interceptors at the same phase?

I want to have different class being registered for different purpose to be invoked at the same phase(Phase.PRE_INVOKE). Is it possible?

like image 495
Vijayakumar Vadivelan Avatar asked Nov 23 '25 20:11

Vijayakumar Vadivelan


1 Answers

Take a look here 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:...

So short answer: yes

like image 128
soilworker Avatar answered Nov 28 '25 18:11

soilworker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!