Package io.micronaut.function.aws.proxy
Class MutableMapListOfStringAndMapStringConvertibleMultiValue
java.lang.Object
io.micronaut.function.aws.proxy.MutableMapListOfStringAndMapStringConvertibleMultiValue
- 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>>>
A mutable version of
MapListOfStringAndMapStringConvertibleMultiValue
.-
Field Summary
Modifier and TypeFieldDescriptionprotected io.micronaut.core.convert.ConversionService
Fields inherited from interface io.micronaut.core.convert.value.ConvertibleValues
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CharSequence name, CharSequence value) Adds the given value to the existing values for the given name.void
add
(CharSequence name, List<CharSequence> valuesToBeAdded) Adds the given values to the existing values for the given name.@Nullable String
get
(CharSequence name) <T> Optional<T>
get
(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) getAll
(CharSequence name) names()
void
remove
(CharSequence header) Removes the given header.void
setConversionService
(io.micronaut.core.convert.ConversionService conversionService) Sets the conversion service.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
-
values
-
conversionService
protected io.micronaut.core.convert.ConversionService conversionService
-
-
Constructor Details
-
MutableMapListOfStringAndMapStringConvertibleMultiValue
-
-
Method Details
-
add
Adds the given values to the existing values for the given name.- Parameters:
name
-valuesToBeAdded
-
-
add
Adds the given value to the existing values for the given name.- Parameters:
name
-value
-
-
remove
Removes the given header.- Parameters:
header
-
-
setConversionService
public void setConversionService(io.micronaut.core.convert.ConversionService conversionService) Sets the conversion service.- Parameters:
conversionService
-
-
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>
-