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 2007/12/07 08:33:43 UTC
[jira] Created: (CXF-1271) JAX-RS does not work if there is no
resource method marked with @UriTemplate only
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.
[jira] Closed: (CXF-1271) JAX-RS does not work if there is no
resource method marked with @UriTemplate only
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (CXF-1271) JAX-RS does not work if there is no
resource method marked with @UriTemplate only
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu resolved CXF-1271.
-----------------------------
Resolution: Fixed
> 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.