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

Lenoire commented on CXF-7527:
------------------------------

I think there could be a confusion with the terms _sub-resource locator_ and 
_sub-resource method_.
My understanding is that a _sub-resource locator_ is a method that have a 
{{@Path}} annotation but no _request method designator_ (e.g. {{@GET}}). A 
_sub-resource method_ has both. Also BarResource.getBar() method isn't a 
_sub-resource method_, but a _resource method_. See section 3.4.1 of the JAXRS 
2.0 specification.


> JAXRS UriInfo.getMatchedUris does return matched URIs twice for sub resources
> -----------------------------------------------------------------------------
>
>                 Key: CXF-7527
>                 URL: https://issues.apache.org/jira/browse/CXF-7527
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.12
>            Reporter: Lenoire
>         Attachments: uriinfo-issues.jar
>
>
> Invoking method {{UriInfo.getMatchedURIs()}} return matched resource URI 
> twice when invoked from SubResource method.
> See attachment for a junit test reproducing the issue (=> 
> {{testMatchedUrisFromSubResource()}}) 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to