[
https://issues.apache.org/jira/browse/CXF-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668486#action_12668486
]
Sergey Beryozkin commented on CXF-1991:
---------------------------------------
This is awesome. Will take care of applying the send patch now.
> Sergey, BTW I've found also that URITemplate does not hold when playing with
> complex regexp for variables matching:
> simple ones like "{var:\d\d}" are ok but with "{var:.*}" it regexp
> compilation fails.
I have a test for expressions like "/{base:base.+}/{tail}",
"/books/{bookId:[^/]+?}", "/books/{bookId:...\\.}" plus few others;
I do know that one can't do expressions with '{' and '}', like {var:\d{9}}, one
needs to do \d 9 times, I didn't have time to make it rock solid, so looks like
a '*' gets into that category.
Can you open a JIRA please if you get a chance ?
Thanks, Sergey
> Incomplete implementations of UriInfo and UriBuilder
> ----------------------------------------------------
>
> Key: CXF-1991
> URL: https://issues.apache.org/jira/browse/CXF-1991
> Project: CXF
> Issue Type: Bug
> Components: REST
> Affects Versions: 2.1.3, 2.2
> Reporter: Andrzej Michalec
> Assignee: Sergey Beryozkin
> Priority: Minor
> Attachments: cxf-1991_20090121.patch, cxf-1991_20090128.patch
>
>
> Some useful methods like UriBuilder.path(Class), UriBuilder.path(Method) or
> UriInfo.getMatchedResources() are not implemented so far.
> Since I am have my locally tuned versions of these classes I am going to
> provide patch soon :)
> cheers,
> andy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.