cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4280) case insensitive MetadataMap keyset
Date Wed, 02 May 2012 15:14:59 GMT

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

Sergey Beryozkin commented on CXF-4280:
---------------------------------------

Hi Romain, any chance you can offer a link to the code ? I have a couple of tests retrieving
HttpHeader parameters in a case-insensitive way and it does seem to work. I think MetadataMap
does need to be enhanced but I think it is only required on certain paths and I'm trying identify
them with a failing test :-)
                
> case insensitive MetadataMap keyset
> -----------------------------------
>
>                 Key: CXF-4280
>                 URL: https://issues.apache.org/jira/browse/CXF-4280
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.5.3
>            Reporter: Romain Manni-Bucau
>
> while working on TCK for openejb/tomee we needed to do it:
> public class PatchedMetadataMap extends MetadataMap<String, String> {
>     public PatchedMetadataMap(Map<String, List<String>> store, boolean ro,
boolean ci) {
>         super(store, ro, ci);
>     }
>     public Set<String> keySet() {
>         Set<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
>         set.addAll(super.keySet());
>         return set;
>     }
> }
> any way to merge it in cxf?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message