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
FieldsModifier and TypeFieldDescriptionprotected io.micronaut.core.convert.ConversionServiceFields inherited from interface io.micronaut.core.convert.value.ConvertibleValues
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(CharSequence name, CharSequence value) Adds the given value to the existing values for the given name.voidadd(CharSequence name, List<CharSequence> valuesToBeAdded) Adds the given values to the existing values for the given name.@Nullable Stringget(CharSequence name) <T> Optional<T>get(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext) getAll(CharSequence name) names()voidremove(CharSequence header) Removes the given header.voidsetConversionService(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, waitMethods inherited from interface io.micronaut.core.convert.value.ConvertibleMultiValues
forEach, forEachValue, getFirst, getFirst, getFirst, getFirst, getFirst, isEmpty, iteratorMethods inherited from interface io.micronaut.core.convert.value.ConvertibleValues
asMap, asMap, asProperties, contains, getConversionService, getValue, getValueType, subMap, subMap, subMapMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:
getAllin interfaceio.micronaut.core.convert.value.ConvertibleMultiValues<String>
-
get
- Specified by:
getin 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:
getin interfaceio.micronaut.core.value.ValueResolver<CharSequence>
-