You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2008/01/04 09:12:34 UTC

[jira] Closed: (CXF-1271) JAX-RS does not work if there is no resource method marked with @UriTemplate only

     [ https://issues.apache.org/jira/browse/CXF-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu closed CXF-1271.
---------------------------


> JAX-RS does not work if there is no resource method marked with @UriTemplate only
> ---------------------------------------------------------------------------------
>
>                 Key: CXF-1271
>                 URL: https://issues.apache.org/jira/browse/CXF-1271
>             Project: CXF
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Jervis Liu
>            Assignee: Jervis Liu
>
> At the moment you need to have a resource method only marked with @UriTemplate (no     @HttpMethod("") annotation). This tells jax-rs runtime this resource class has subResources. I.e.:
>     //FIXME: wont work if remove this method, has to set hasSubResource to true
>     @UriTemplate("/anyURLWilldo")
>     public String anyMethodNameWillDo() {
>         return null;
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.