RE: JAX-RS Request Matching Wierdness

2009-07-13 Thread Tong, Gary
Ah nevermind. Just read the spec again and I realized that I had misread it the first time and that CXF works as the spec says. To be honest though, after reading the JSR the right way, the algorithm it talks about actually seems a bit less functional than it could be. I would think that a

Re: JAX-RS Request Matching Wierdness

2009-07-13 Thread Sergey Beryozkin
No problems - I've misread that part of the specification for a number of times :-) The spec allows for Objects or interfaces with no JAX-RS annotations classes be returned as subresources so what you suggest will not work. That said it is something I'll keep in mind. In CXF you can set an