java.lang.Object | |
↳ | com.ning.http.client.FluentCaseInsensitiveStringsMap |
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()
).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified values and returns this object.
| |||||||||||
Adds the specified values and returns this object.
| |||||||||||
Adds all key-values pairs from the given object to this object and returns this object.
| |||||||||||
Adds all key-values pairs from the given map to this object and returns this object.
| |||||||||||
Removes the values for the given key if present and returns this object.
| |||||||||||
Removes the values for the given keys if present and returns this object.
| |||||||||||
Removes the values for the given keys if present and returns this object.
| |||||||||||
Returns the value for the given key.
| |||||||||||
Returns the values for the given key joined into a single string using the given delimiter.
| |||||||||||
Replaces the values for the given key with the given values.
| |||||||||||
Replaces the values for the given key with the given values.
| |||||||||||
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
| |||||||||||
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Adds the specified values and returns this object.
key | The key |
---|---|
values | The value(s); if null then this method has no effect. Use the empty string to generate an empty value |
Adds the specified values and returns this object.
key | The key |
---|---|
values | The value(s); if null then this method has no effect. Use an empty collection to generate an empty value |
Adds all key-values pairs from the given object to this object and returns this object.
src | The source object |
---|
Adds all key-values pairs from the given map to this object and returns this object.
src | The source map |
---|
Removes the values for the given key if present and returns this object.
key | The key |
---|
Removes the values for the given keys if present and returns this object.
keys | The keys |
---|
Removes the values for the given keys if present and returns this object.
keys | The keys |
---|
Returns the value for the given key. If there are multiple values for this key, then only the first one will be returned.
key | The key |
---|
Returns the values for the given key joined into a single string using the given delimiter.
key | The key |
---|
Replaces the values for the given key with the given values.
key | The key |
---|---|
values | The new values |
Replaces the values for the given key with the given values.
key | The key |
---|---|
values | The new values |
Replace the values for all keys from the given map that are also present in this object, with the values from the given map. All key-values from the given object that are not present in this object, will be added to it.
src | The source object |
---|
Replace the values for all keys from the given map that are also present in this object, with the values from the given map. All key-values from the given object that are not present in this object, will be added to it.
src | The source map |
---|