Hi. We're going (gradually) from a CXF based JAX-WS world to a CXF based JAX-RS world. I have a number of Interceptors to do some custom stuff, and I'd like to keep the same implementation serving both scenarios.
Is it possible to get either a ContainerRequestContext (preferrably) or a MessageContext from the Message object available in the interceptor? I want to work on these types of objects as they are JAX-RS types and it wold ease/secure my transition on to pure JAX-RS Filters later on. I'm aware that I can inject the MessageContext into the interceptor, but it would defeat the purpose somewhat/be less intrusive for users of the interceptor if I can just create it behind the scenes. new ContainerRequestContextImpl( message, false, false ) seems a little hackish, and I'm not entirely sure what the booleans control. -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
