cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Michalec (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CXF-1991) Incomplete implementations of UriInfo and UriBuilder
Date Mon, 02 Feb 2009 08:47:59 GMT

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

amichalec edited comment on CXF-1991 at 2/2/09 12:46 AM:
----------------------------------------------------------------

And here goes final patch:
* all *query*() methods were fixed due to lack of respect for valid "single param name with
multiple values" case (supporting junits added too).
* all *matrix*() methods for matrix params manipulation with same rules as for query URI part
(note ability to have "single param with multiple values" due to discussion on jsr311 users
group).

Note: I've not changed default behavior of many methods that strip matrix params from path
segments keeping matrix management separated. Examples:
* building URI from "http://foo;p1=v1/bar" results with "http://foo/bar" -- this is ok for
me since matrix params should appear only in final path segment
* adding path "/bar;p1=v1" to "http://foo" causes build() to return "http://foo/bar" - user
must explicitly add matrix param in next step(s).

Sergey, if you do not find any problems with patch, feel free to close this thread.

cheers,
andy.


      was (Author: amichalec):
    And here goes final patch:
* all *query*() methods were fixed due to lack of respect for valid "single param name with
multiple values" case (supporting junits added too).
* all *matrix*() methods for matrix params manipulation with same rules as for query URI part
(note ability to have "single param with multiple values" due to discussion on jsr311 users
group).

Sergey, if you do not find any problems with patch, feel free to close this thread.

cheers,
andy.

  
> 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, cxf-1991_20090201.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.


Mime
View raw message