Uses of Interface
org.springframework.util.MultiValueMap
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Core support package for type introspection.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
-
Uses of MultiValueMap in org.springframework.core.annotation
Modifier and TypeMethodDescriptionstatic MultiValueMap<String,
Object> AnnotatedElementUtils.getAllAnnotationAttributes
(AnnotatedElement element, String annotationName) Get the annotation attributes of all annotations of the specifiedannotationName
in the annotation hierarchy above the suppliedAnnotatedElement
and store the results in aMultiValueMap
.static MultiValueMap<String,
Object> AnnotatedElementUtils.getAllAnnotationAttributes
(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the annotation attributes of all annotations of the specifiedannotationName
in the annotation hierarchy above the suppliedAnnotatedElement
and store the results in aMultiValueMap
.Modifier and TypeMethodDescriptionstatic <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.Modifier and TypeMethodDescriptionstatic <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map. -
Uses of MultiValueMap in org.springframework.core.type
Modifier and TypeMethodDescriptiondefault MultiValueMap<String,
Object> AnnotatedTypeMetadata.getAllAnnotationAttributes
(String annotationName) Retrieve all attributes of all annotations of the given type, if any (i.e.default MultiValueMap<String,
Object> AnnotatedTypeMetadata.getAllAnnotationAttributes
(String annotationName, boolean classValuesAsString) Retrieve all attributes of all annotations of the given type, if any (i.e.StandardAnnotationMetadata.getAllAnnotationAttributes
(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAllAnnotationAttributes
(String annotationName, boolean classValuesAsString) -
Uses of MultiValueMap in org.springframework.util
Modifier and TypeClassDescriptionclass
LinkedMultiValueMap<K,
V> Simple implementation ofMultiValueMap
that wraps aLinkedHashMap
, storing multiple values in anArrayList
.class
MultiValueMapAdapter<K,
V> Adapts a givenMap
to theMultiValueMap
contract.Modifier and TypeMethodDescriptionstatic <K,
V> MultiValueMap<K, V> CollectionUtils.toMultiValueMap
(Map<K, List<V>> targetMap) Adapt aMap<K, List<V>>
to anMultiValueMap<K, V>
.static <K,
V> MultiValueMap<K, V> CollectionUtils.unmodifiableMultiValueMap
(MultiValueMap<? extends K, ? extends V> targetMap) Return an unmodifiable view of the specified multi-value map.Modifier and TypeMethodDescriptionvoid
MultiValueMap.addAll
(MultiValueMap<K, V> values) Add all the values of the givenMultiValueMap
to the current values.void
MultiValueMapAdapter.addAll
(MultiValueMap<K, V> values) static <K,
V> MultiValueMap<K, V> CollectionUtils.unmodifiableMultiValueMap
(MultiValueMap<? extends K, ? extends V> targetMap) Return an unmodifiable view of the specified multi-value map.