JAXRS Subresources do not have their class URITemplates taken into account
--------------------------------------------------------------------------
Key: CXF-1422
URL: https://issues.apache.org/jira/browse/CXF-1422
Project: CXF
Issue Type: Bug
Components: REST
Affects Versions: 2.1
Reporter: Sergey Beryozkin
Fix For: 2.1
Consider
@URITemplate("/")
public class RootResource {
@HttpMethod("GET")
@URITemplate("foo")
public Foo getFoo() {
return new Foo();
}
}
@URITemplate("/bar")
public class RootResource {
@HttpMethod("GET")
public Response getState() {
//....
}
}
Foo is supposed to respond to /foo/bar queries but a /bar fragment is not
considered by a JAXRS runtime
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.