java.lang.Object | |
↳ | com.ning.http.client.FluentStringsMap |
An implementation of a String -> List<String>
map that adds a fluent interface, i.e. methods that
return this instance.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
| |||||||||||
From interface
java.util.Map
|
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 |
---|