cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1422) JAXRS Subresources do not have their class URITemplates taken into account
Date Thu, 07 Feb 2008 16:10:08 GMT
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.


Mime
View raw message