Class MultivaluedMapImpl
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,List<String>> javax.ws.rs.core.MultivaluedMap<String,,String> ExtMultivaluedMap<String,String>
public class MultivaluedMapImpl
extends HashMap<String,List<String>>
implements ExtMultivaluedMap<String,String>
- Version:
- $Id: $
- Author:
- Andrey Parfonov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
MultivaluedMapImpl
public MultivaluedMapImpl()
-
-
Method Details
-
add
-
getFirst
-
putSingle
-
getList
- Specified by:
getListin interfaceExtMultivaluedMap<String,String> - Parameters:
key- key- Returns:
- never null even any value not found in the map, return empty list instead
-