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:
K
- The type of the keys in the map.V
- The type of the values in the lists in the map.
MultivaluedMap
implementation that wraps another instance and only returns values that are prefixed with the given #prefix
.-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPrefixedMultivaluedMap
(String prefix, javax.ws.rs.core.MultivaluedMap<String, V> delegate) Constructor setting the prefix and the delegate. -
Method Summary
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
-
Field Details
-
prefixWithDot
-
-
Constructor Details
-
PrefixedMultivaluedMap
Constructor setting the prefix and the delegate.
-
-
Method Details
-
get
Returns the value assigned to "prefix.key" implicitly converts the key toString
-
keySet
-