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] [Commented] (CXF-6281) Target Method match algorithm to identify with in a resource class.
Date Thu, 05 Mar 2015 22:39:39 GMT

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

Sergey Beryozkin commented on CXF-6281:
---------------------------------------

Modifying a selection algorithm is a highly sensitive thing to do for various reasons. 
CXF offers an extension:
http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Customselectionbetweenmultipleresources

However this is obviously non-portable

> Target Method match algorithm to identify with in a resource class.
> -------------------------------------------------------------------
>
>                 Key: CXF-6281
>                 URL: https://issues.apache.org/jira/browse/CXF-6281
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: sreeharsha panguluri
>            Priority: Trivial
>              Labels: Algorithm, Matching, Method, Target
>
> I am trying to have two methods with same http method type and have the same number of
path params but of different type.
> Have debugged through the code and looks like only the number of parameters are being
considered while matching the target method.
> I guess getting the parameter java types and matching it based on the types will give
the framework more flexibility while being used by the developers not knowing this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message