Is it possible to register more than one CXF interceptor in the same phase?

I want another class to register for different purposes to be called in the same phase (Phase.PRE_INVOKE). Is it possible?

+3


source to share


1 answer


Take a look here http://cxf.apache.org/docs/interceptors.html .

InterceptorChains are divided into phases. The phase in which each interceptor is run in the constructor of the interceptor. each phase can contain many interceptors. On incoming chains, you will have the following stages: ...



The short answer is yes

+1


source







All Articles