You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2015/04/23 16:58:38 UTC
[jira] [Updated] (SYNCOPE-661) Remove overloaded methods from REST
services
[ https://issues.apache.org/jira/browse/SYNCOPE-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated SYNCOPE-661:
-------------------------------------------
Summary: Remove overloaded methods from REST services (was: Remover overloaded methods from REST services)
> Remove 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)