Class FluentCaseInsensitiveStringsMap

java.lang.Object
com.ning.http.client.FluentCaseInsensitiveStringsMap
All Implemented Interfaces:
Iterable<Map.Entry<String,List<String>>>, Map<String,List<String>>

public class FluentCaseInsensitiveStringsMap extends Object implements Map<String,List<String>>, Iterable<Map.Entry<String,List<String>>>
An implementation of a String -> List<String> map that adds a fluent interface, i.e. methods that return this instance. This class differs from FluentStringsMap in that keys are treated in an case-insensitive matter, i.e. case of the key doesn't matter when retrieving values or changing the map. However, the map preserves the key case (of the first insert or replace) and returns the keys in their original case in the appropriate methods (e.g. keySet()).