| Modifier and Type | Field and Description |
|---|---|
| private final Headers | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(String key, String value)
Overrides com. Adds the given |
| public void | clear()
Overrides com. Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object key)
Overrides com. Implements java. Returns |
| public boolean | containsValue(Object value)
Overrides com. Implements java. Returns |
| public Set | entrySet()
Overrides com. Implements java. Returns a |
| public boolean | equals(Object o)
Overrides com. Implements java. Compares the specified object with this map for equality. |
| public List | get(Object key)
Overrides com. Implements java. Returns the value to which the specified key is mapped,
or |
| public String | getFirst(String key)
Overrides com. Returns the first value from the |
| public int | hashCode()
Overrides com. Implements java. Returns the hash code value for this map. |
| public boolean | isEmpty()
Overrides com. Implements java. Returns |
| public Set | keySet()
Overrides com. Implements java. Returns a |
| public List | put(String key, List<String> value)
Overrides com. Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends String, ? extends List<String>> t)
Overrides com. Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public List | remove(Object key)
Overrides com. Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public List | replace(String key, List<String> value)
Overrides default java. Replaces the entry for the specified key only if it is currently mapped to some value (optional operation). |
| public boolean | |
| public void | replaceAll(BiFunction<? super String, ? super List<String>, ? extends List<String>> function)
Overrides com. Overrides default java. Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception (optional operation). |
| public void | set(String key, String value)
Overrides com. Sets the given |
| public int | size()
Overrides com. Implements java. Returns the number of key-value mappings in this map. |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| public Collection | values()
Overrides com. Implements java. Returns a |
| headers | back to summary |
|---|---|
| private final Headers headers | |
| unmodifiableView | back to summary |
|---|---|
| private final Map<String, List<String>> unmodifiableView | |
| UnmodifiableHeaders | back to summary |
|---|---|
| public UnmodifiableHeaders(Headers headers) | |
| add | back to summary |
|---|---|
| public void add(String key, String value) Overrides com. Doc from com. Adds the given
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides com. Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Overrides com. Implements java. Doc from java. Returns
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Overrides com. Implements java. Doc from java. Returns
| |
| entrySet | back to summary |
|---|---|
| public Set Overrides com. Implements java. Doc from java. Returns a
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides com. Implements java. Doc from java. Compares the specified object with this map for equality. Returns
| |
| get | back to summary |
|---|---|
| public List Overrides com. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getFirst | back to summary |
|---|---|
| public String getFirst(String key) Overrides com. Doc from com. Returns the first value from the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Implements java. Doc from java. Returns the hash code value for this map. The hash code of a map is
defined to be the sum of the hash codes of each entry in the map's
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides com. Implements java. Doc from java. Returns
| |
| keySet | back to summary |
|---|---|
| public Set Overrides com. Implements java. Doc from java. Returns a
| |
| put | back to summary |
|---|---|
| public List Overrides com. Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ? extends List<String>> t) Overrides com. Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling
| |
| remove | back to summary |
|---|---|
| public List Overrides com. Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns.
| |
| replace | back to summary |
|---|---|
| public List Overrides default java. Doc from java. Replaces the entry for the specified key only if it is currently mapped to some value (optional operation).
| |
| replace | back to summary |
|---|---|
| public boolean replace(String key, List<String> oldValue, List<String> newValue) Overrides default java. Doc from java. Replaces the entry for the specified key only if currently mapped to the specified value (optional operation).
| |
| replaceAll | back to summary |
|---|---|
| public void replaceAll(BiFunction<? super String, ? super List<String>, ? extends List<String>> function) Overrides com. Overrides default java. Doc from java. Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception (optional operation). Exceptions thrown by the function are relayed to the caller.
| |
| set | back to summary |
|---|---|
| public void set(String key, String value) Overrides com. Doc from com. Sets the given
| |
| size | back to summary |
|---|---|
| public int size() Overrides com. Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| values | back to summary |
|---|---|
| public Collection Overrides com. Implements java. Doc from java. Returns a
| |