Class TrackingMap<V>
java.lang.Object
org.jboss.resteasy.specimpl.MultivaluedTreeMap<String,V>
org.jboss.resteasy.util.CaseInsensitiveMap<V>
org.jboss.resteasy.client.jaxrs.internal.TrackingMap<V>
- All Implemented Interfaces:
jakarta.ws.rs.core.MultivaluedMap<String,,V> Serializable,Cloneable,Map<String,List<V>>
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class TrackingMap<V>
extends CaseInsensitiveMap<V>
implements jakarta.ws.rs.core.MultivaluedMap<String,V>, Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
use the new dependencies and packages to avoid split packages
A decorator class to track changes to the underlying map.
Tracks the keys that are either added/replaced/modified in addedOrUpdatedKeys.
Tracks the keys that are removed in removedKeys.
Known Limitation: The get and getFirst methods returns the list(since this is an instance of MultivaluedMap) value of the given key. Any direct changes to the underlying list will not be tracked.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.jboss.resteasy.util.CaseInsensitiveMap
CASE_INSENSITIVE_ORDER -
Constructor Summary
ConstructorsConstructorDescriptionTrackingMap(CaseInsensitiveMap<V> delegate) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidclear()Deprecated, for removal: This API element is subject to removal in a future version.clone()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.computeIfPresent(String key, BiFunction<? super String, ? super List<V>, ? extends List<V>> remappingFunction) Deprecated, for removal: This API element is subject to removal in a future version.booleancontainsKey(Object key) Deprecated, for removal: This API element is subject to removal in a future version.booleancontainsValue(Object value) Deprecated, for removal: This API element is subject to removal in a future version.entrySet()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanequalsIgnoreValueOrder(jakarta.ws.rs.core.MultivaluedMap<String, V> omap) Deprecated, for removal: This API element is subject to removal in a future version.voidforEach(BiConsumer<? super String, ? super List<V>> action) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getOrDefault(Object key, List<V> defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanisEmpty()Deprecated, for removal: This API element is subject to removal in a future version.keySet()Deprecated, for removal: This API element is subject to removal in a future version.merge(String key, List<V> value, BiFunction<? super List<V>, ? super List<V>, ? extends List<V>> remappingFunction) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.putIfAbsent(String key, List<V> value) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidreplaceAll(BiFunction<? super String, ? super List<V>, ? extends List<V>> function) Deprecated, for removal: This API element is subject to removal in a future version.intsize()Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.Collection<List<V>> values()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.jboss.resteasy.specimpl.MultivaluedTreeMap
addAll, clone, copy, toString
-
Constructor Details
-
TrackingMap
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getAddedOrUpdatedKeys
Deprecated, for removal: This API element is subject to removal in a future version. -
getRemovedKeys
Deprecated, for removal: This API element is subject to removal in a future version. -
add
Deprecated, for removal: This API element is subject to removal in a future version. -
addFirst
Deprecated, for removal: This API element is subject to removal in a future version. -
put
Deprecated, for removal: This API element is subject to removal in a future version. -
putSingle
Deprecated, for removal: This API element is subject to removal in a future version. -
replace
Deprecated, for removal: This API element is subject to removal in a future version. -
replace
Deprecated, for removal: This API element is subject to removal in a future version. -
addAll
Deprecated, for removal: This API element is subject to removal in a future version. -
addAll
Deprecated, for removal: This API element is subject to removal in a future version. -
merge
public List<V> merge(String key, List<V> value, BiFunction<? super List<V>, ? super List<V>, ? extends List<V>> remappingFunction) Deprecated, for removal: This API element is subject to removal in a future version. -
putAll
Deprecated, for removal: This API element is subject to removal in a future version. -
replaceAll
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
replaceAllin interfaceMap<String,List<V>>
-
putIfAbsent
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
putIfAbsentin interfaceMap<String,List<V>>
-
computeIfAbsent
public List<V> computeIfAbsent(String key, Function<? super String, ? extends List<V>> mappingFunction) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
computeIfAbsentin interfaceMap<String,List<V>>
-
computeIfPresent
public List<V> computeIfPresent(String key, BiFunction<? super String, ? super List<V>, ? extends List<V>> remappingFunction) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
computeIfPresentin interfaceMap<String,List<V>>
-
compute
public List<V> compute(String key, BiFunction<? super String, ? super List<V>, ? extends List<V>> remappingFunction) Deprecated, for removal: This API element is subject to removal in a future version. -
remove
Deprecated, for removal: This API element is subject to removal in a future version. -
remove
Deprecated, for removal: This API element is subject to removal in a future version. -
clear
public void clear()Deprecated, for removal: This API element is subject to removal in a future version. -
containsKey
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsKeyin interfaceMap<String,List<V>> - Overrides:
containsKeyin classMultivaluedTreeMap<String,V>
-
containsValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsValuein interfaceMap<String,List<V>> - Overrides:
containsValuein classMultivaluedTreeMap<String,V>
-
entrySet
Deprecated, for removal: This API element is subject to removal in a future version. -
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
get
Deprecated, for removal: This API element is subject to removal in a future version. -
getFirst
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version. -
isEmpty
public boolean isEmpty()Deprecated, for removal: This API element is subject to removal in a future version. -
keySet
Deprecated, for removal: This API element is subject to removal in a future version. -
size
public int size()Deprecated, for removal: This API element is subject to removal in a future version. -
values
Deprecated, for removal: This API element is subject to removal in a future version. -
equalsIgnoreValueOrder
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
equalsIgnoreValueOrderin interfacejakarta.ws.rs.core.MultivaluedMap<String,V> - Overrides:
equalsIgnoreValueOrderin classMultivaluedTreeMap<String,V>
-
getOrDefault
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOrDefaultin interfaceMap<String,List<V>>
-
forEach
Deprecated, for removal: This API element is subject to removal in a future version. -
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toStringin classMultivaluedTreeMap<String,V>
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clonein classMultivaluedTreeMap<String,V>
-