Package org.exoplatform.services.rest
Interface ExtMultivaluedMap<K,V>
- Type Parameters:
K- keyV- value
- All Known Implementing Classes:
MediaTypeMultivaluedMap,MultivaluedMapImpl,ResourceMethodMap,UriPatternMap
public interface ExtMultivaluedMap<K,V>
extends javax.ws.rs.core.MultivaluedMap<K,V>
Extension of
MultivaluedMap that allows to get not null value (empty
list) even there is no mapping value to supplied key.- Version:
- $Id: $
- Author:
- Andrey Parfonov
- See Also:
-
Nested Class Summary
-
Method Summary
Methods 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, valuesMethods inherited from interface javax.ws.rs.core.MultivaluedMap
add, getFirst, putSingle
-
Method Details
-
getList
- Parameters:
key- key- Returns:
- never null even any value not found in the map, return empty list instead
-