Interface ExtMultivaluedMap<K,V>

Type Parameters:
K - key
V - value
All Superinterfaces:
Map<K,List<V>>, javax.ws.rs.core.MultivaluedMap<K,V>
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:
  • Method Details

    • getList

      List<V> getList(K key)
      Parameters:
      key - key
      Returns:
      never null even any value not found in the map, return empty list instead