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/02/22 13:40:19 UTC

[jira] Commented: (CXF-1007) Matching resource methods with http method when @HttpMethod annotation does not have name attribute.

    [ https://issues.apache.org/jira/browse/CXF-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571380#action_12571380 ] 

Sergey Beryozkin commented on CXF-1007:
---------------------------------------

This an invalid JIRA starting in 0.5 jsr-311 api, @HttpMethod can not be applied directly to methods anymore, only to designators like @GET

Can someone please this JIRA ?

> Matching resource methods with http method when @HttpMethod annotation does not have name attribute.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1007
>                 URL: https://issues.apache.org/jira/browse/CXF-1007
>             Project: CXF
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Jervis Liu
>
> Section 2.4:
> Resource methods are resource class methods annotated with @HttpMethod. They are used to handle 
> requests and MUST conform to certain restrictions described in this section. 
> The @HttpMethod annotation has an optional value that corresponds to the name of a request method. In 
> the absence of a value, the request method is inferred from the resource method name: they match if the 
> resource method name starts with the request method name converted to lower case.

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