Package org.jboss.resteasy.util
Class PrefixedMultivaluedMap<V>
- java.lang.Object
-
- org.jboss.resteasy.util.DelegatingMultivaluedMap<String,V>
-
- org.jboss.resteasy.util.PrefixedMultivaluedMap<V>
-
- Type Parameters:
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 givenprefixWithDot
.
-
-
Constructor Summary
Constructors Constructor Description PrefixedMultivaluedMap(String prefix, jakarta.ws.rs.core.MultivaluedMap<String,V> delegate)
Constructor setting the prefix and the delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<V>
get(Object key)
Returns the value assigned to "prefix.key" implicitly converts the key toString
.Set<String>
keySet()
-
Methods inherited from class org.jboss.resteasy.util.DelegatingMultivaluedMap
add, addAll, addAll, addFirst, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, getFirst, hashCode, isEmpty, put, putAll, putSingle, remove, size, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-