You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2008/03/12 19:46:46 UTC
[jira] Closed: (CXF-1422) JAXRS Subresources do not have their
class URITemplates taken into account
[ https://issues.apache.org/jira/browse/CXF-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin closed CXF-1422.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1)
Invalid
> 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: Invalid
>
>
> 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.