Class FnMultiValueMap
java.lang.Object
io.micronaut.oraclecloud.function.http.FnMultiValueMap
- All Implemented Interfaces:
io.micronaut.core.convert.ConversionServiceProvider
,io.micronaut.core.convert.value.ConvertibleMultiValues<String>
,io.micronaut.core.convert.value.ConvertibleValues<List<String>>
,io.micronaut.core.value.ValueResolver<CharSequence>
,Iterable<Map.Entry<String,
List<String>>>
@Internal
public class FnMultiValueMap
extends Object
implements io.micronaut.core.convert.value.ConvertibleMultiValues<String>
Implementation for Project.fn of a multi value map.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Summary
Modifier and TypeFieldDescriptionprotected io.micronaut.core.convert.ConversionService
Fields inherited from interface io.micronaut.core.convert.value.ConvertibleValues
EMPTY
-
Constructor Summary
ConstructorDescriptionFnMultiValueMap
(Map<String, List<String>> map, io.micronaut.core.convert.ConversionService conversionService) Default constructor. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
get
(CharSequence name) <T> Optional<T>
get
(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) getAll
(CharSequence name) names()
void
setConversionService
(@NonNull io.micronaut.core.convert.ConversionService conversionService) values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.convert.value.ConvertibleMultiValues
forEach, forEachValue, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iterator
Methods inherited from interface io.micronaut.core.convert.value.ConvertibleValues
asMap, asMap, asProperties, contains, getConversionService, getValue, getValueType, subMap, subMap, subMap
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface io.micronaut.core.value.ValueResolver
get, get, get
-
Field Details
-
conversionService
protected io.micronaut.core.convert.ConversionService conversionService
-
-
Constructor Details
-
Method Details
-
getAll
- Specified by:
getAll
in interfaceio.micronaut.core.convert.value.ConvertibleMultiValues<String>
-
get
- Specified by:
get
in interfaceio.micronaut.core.convert.value.ConvertibleMultiValues<String>
-
names
-
values
-
get
public <T> Optional<T> get(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) - Specified by:
get
in interfaceio.micronaut.core.value.ValueResolver<CharSequence>
-
setConversionService
public void setConversionService(@NonNull @NonNull io.micronaut.core.convert.ConversionService conversionService) - Parameters:
conversionService
- The conversion service.
-