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 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.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.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 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
-
getRemovedKeys
-
add
-
addFirst
-
put
-
putSingle
-
replace
-
replace
-
addAll
-
addAll
-
merge
-
putAll
-
replaceAll
-
putIfAbsent
-
computeIfAbsent
-
computeIfPresent
-
compute
-
remove
-
remove
-
clear
-
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
-
equals
-
get
-
getFirst
-
hashCode
-
isEmpty
-
keySet
-
size
-
values
-
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
-
forEach
-
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>
-