K
- The type of the keys in the map.V
- The type of the values in the lists in the map.public class PrefixedMultivaluedMap<V> extends DelegatingMultivaluedMap<String,V>
MultivaluedMap
implementation that wraps another instance and only returns values that are prefixed with the given #prefix
.Constructor and Description |
---|
PrefixedMultivaluedMap(String prefix,
MultivaluedMap<String,V> delegate)
Constructor setting the prefix and the delegate.
|
Modifier and Type | Method and Description |
---|---|
List<V> |
get(Object key)
Returns the value assigned to "prefix.key" implicitly converts the key to
String |
Set<String> |
keySet() |
add, addAll, addAll, addFirst, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, getFirst, hashCode, isEmpty, put, putAll, putSingle, remove, size, values
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public PrefixedMultivaluedMap(String prefix, MultivaluedMap<String,V> delegate)
Copyright © 2017 JBoss by Red Hat. All rights reserved.