jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: MultivaluedHashMap

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 26 Jan 2012 09:24:32 -0500

You would need a new type for this then.

public class CaseInsensitiveMultivaluedMap<T> extends
MultivaluedHashMap<String, T> {...}


On 1/26/12 5:32 AM, Sergey Beryozkin wrote:
> It is a useful utility class, may be it's worth adding a constructor
> which can be used to tell the map to treat the keys in a
> case-insensitive way, given that MaltivaluedMap is expected to do it in
> some cases.
> Sergey

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com