@Internal
public class FnMultiValueMap
extends java.lang.Object
implements io.micronaut.core.convert.value.ConvertibleMultiValues<java.lang.String>
Constructor and Description |
---|
FnMultiValueMap(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.CharSequence name) |
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) |
java.util.List<java.lang.String> |
getAll(java.lang.CharSequence name) |
java.util.Set<java.lang.String> |
names() |
java.util.Collection<java.util.List<java.lang.String>> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty, forEach, forEachValue, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iterator, of
public FnMultiValueMap(java.util.Map<java.lang.String,java.util.List<java.lang.String>> map)
map
- The target map. Never nullpublic java.util.List<java.lang.String> getAll(java.lang.CharSequence name)
getAll
in interface io.micronaut.core.convert.value.ConvertibleMultiValues<java.lang.String>
@Nullable public java.lang.String get(java.lang.CharSequence name)
get
in interface io.micronaut.core.convert.value.ConvertibleMultiValues<java.lang.String>
public java.util.Set<java.lang.String> names()
names
in interface io.micronaut.core.convert.value.ConvertibleValues<java.util.List<java.lang.String>>
public java.util.Collection<java.util.List<java.lang.String>> values()
values
in interface io.micronaut.core.convert.value.ConvertibleValues<java.util.List<java.lang.String>>
public <T> java.util.Optional<T> get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
get
in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>