2014-02-18 13:40 GMT+01:00 Sergey Beryozkin <[email protected]>: > Hi > > in CXF 2.7.8 you should be able to use PreMatch ContainerRequestFilter, or > pure CXF in interceptor running before JAXRSInInterceptor > > CXF RequestHandler filter tries to cover all of the cases, example, some > request filters want to know of the actual selected method, so CXF tries to > find a method even before the filters are invoked, so effectively changing > Content-Type inside a handler won't have the expected effect, I think > changing Accept-Type might in CXF 2.7.8, but > basically you'd be better of using PreMatch ContainerRequestFilter
Thanks. I didn't see that RequestHandler/ResponseHandler are deprecated in 2.7.x With PreMatch ContainerRequestFilter, it works fine . Regards
