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/09/14 05:25:32 UTC

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

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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1007.
------------------------------

       Resolution: Invalid
    Fix Version/s: Invalid

> 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
>             Fix For: Invalid
>
>
> 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.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ 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.