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 TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
clear()
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.boolean
containsKey
(Object key) Deprecated, for removal: This API element is subject to removal in a future version.boolean
containsValue
(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.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
equalsIgnoreValueOrder
(jakarta.ws.rs.core.MultivaluedMap<String, V> omap) Deprecated, for removal: This API element is subject to removal in a future version.void
forEach
(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.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.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.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.void
Deprecated, 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.void
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.boolean
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.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
replaceAll
(BiFunction<? super String, ? super List<V>, ? extends List<V>> function) Deprecated, for removal: This API element is subject to removal in a future version.int
size()
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:
replaceAll
in interfaceMap<String,
List<V>>
-
putIfAbsent
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
putIfAbsent
in 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:
computeIfAbsent
in 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:
computeIfPresent
in 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:
containsKey
in interfaceMap<String,
List<V>> - Overrides:
containsKey
in classMultivaluedTreeMap<String,
V>
-
containsValue
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsValue
in interfaceMap<String,
List<V>> - Overrides:
containsValue
in 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:
equalsIgnoreValueOrder
in interfacejakarta.ws.rs.core.MultivaluedMap<String,
V> - Overrides:
equalsIgnoreValueOrder
in classMultivaluedTreeMap<String,
V>
-
getOrDefault
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOrDefault
in 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:
toString
in classMultivaluedTreeMap<String,
V>
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMultivaluedTreeMap<String,
V>
-