public class MultivaluedMapImpl extends HashMap<String,List<String>> implements javax.ws.rs.core.MultivaluedMap<String,String>
MultivaluedMap
where keys and values are
instances of String.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MultivaluedMapImpl() |
MultivaluedMapImpl(javax.ws.rs.core.MultivaluedMap<String,String> that) |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Object value) |
void |
add(String key,
String value) |
void |
addFirst(String key,
String value) |
<A> List<A> |
get(String key,
Class<A> type) |
String |
getFirst(String key) |
<A> A |
getFirst(String key,
A defaultValue) |
<A> A |
getFirst(String key,
Class<A> type) |
void |
putSingle(String key,
Object value) |
void |
putSingle(String key,
String value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Copyright © 2018 Oracle Corporation. All rights reserved.