Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05E4CD04D for ; Tue, 12 Feb 2013 11:53:13 +0000 (UTC) Received: (qmail 12656 invoked by uid 500); 12 Feb 2013 11:53:12 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 12631 invoked by uid 500); 12 Feb 2013 11:53:12 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 12620 invoked by uid 99); 12 Feb 2013 11:53:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 11:53:12 +0000 Date: Tue, 12 Feb 2013 11:53:12 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-4822) Update selection algorithm to check all root resources with the same root path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-4822. ----------------------------------- Resolution: Fixed > Update selection algorithm to check all root resources with the same root path > ------------------------------------------------------------------------------- > > Key: CXF-4822 > URL: https://issues.apache.org/jira/browse/CXF-4822 > Project: CXF > Issue Type: Task > Components: JAX-RS > Reporter: Sergey Beryozkin > Assignee: Sergey Beryozkin > Fix For: 2.8.0 > > > JAX-RS 2.0 Spec requires that the all the root resources with the same root path are checked when selecting a matching resource method, for example, > {code:java} > @Path("/a/{a}") > public class RootResource { > } > @Path("/a/{b}") > public class RootResource2 { > } > {code} > In 1.1 only RootResource or RootResource2 can be checked request URI starts from "/a/1", in 2.0 - both ones will have to be checked -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira