With reference to the question asked in [What is the proper replacement of the Resteasy 3.X PreProcessInterceptor?
I have a similar kind of requirement, where iam upgrading from RestEasy2.x to restEasy3.x. Server used is Wildfly 8.1 and Java 1.7. I have a preprocessorInterceptor class which is called before invoking any Rest method to do some session manipulation and to add some values to httpsession. As this preProcessorInterceptor is deprcated, i treid using the ContainerRequestFilter as explained in this post. But my question is, is Filter a replacement for Interceptor..? When i used filter, my filters are not called and because of that iam getting Duplicate headers received from serve. Can anyone suggest me how to replace the Interceptor in RestEasy3.x.?I tried by removing the @ServerInterceptor as well but still it is not getting called.
Any help will be appreciated
Regards Arun