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

Francesco Chicchiriccò commented on SYNCOPE-661:
------------------------------------------------

Threads on user@cxf about this topic:
 * 
http://cxf.547215.n5.nabble.com/JAX-RS-Matrix-parameters-and-method-matching-td5756387.html
 * http://cxf.547215.n5.nabble.com/Using-BeanParam-td5756439.html

> Remover overloaded methods from REST services
> ---------------------------------------------
>
>                 Key: SYNCOPE-661
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-661
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>              Labels: cxf, rest
>             Fix For: 2.0.0
>
>
> Various REST services offer overloaded {{list()}} or {{search()}} methods, 
> e.g. methods that only differ for the parameters in the signature.
> This triggers the need of CXF's custom {{QueryResourceInfoComparator}} in 
> order to be able to select the appropriate method based on HTTP parameters.
> This is not in-line with JAX-RS best practice, specifically because 
> parameters should not affect method selection.



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

Reply via email to