Class MapListOfStringAndMapStringMutableHttpParameters

java.lang.Object
io.micronaut.function.aws.proxy.MapListOfStringAndMapStringMutableHttpParameters
All Implemented Interfaces:
io.micronaut.core.convert.ConversionServiceAware, 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>, io.micronaut.http.HttpParameters, io.micronaut.http.MutableHttpParameters, Iterable<Map.Entry<String,List<String>>>

@Internal public final class MapListOfStringAndMapStringMutableHttpParameters extends Object implements io.micronaut.http.MutableHttpParameters
Implementation of MutableHttpParameters that uses a MutableMapListOfStringAndMapStringConvertibleMultiValue internally.
  • Constructor Details

    • MapListOfStringAndMapStringMutableHttpParameters

      public MapListOfStringAndMapStringMutableHttpParameters(io.micronaut.core.convert.ConversionService conversionService, Map<String,List<String>> multiValue, Map<String,String> single)
  • Method Details

    • add

      public io.micronaut.http.MutableHttpParameters add(CharSequence name, List<CharSequence> valuesToBeAddded)
      Specified by:
      add in interface io.micronaut.http.MutableHttpParameters
    • setConversionService

      public void setConversionService(io.micronaut.core.convert.ConversionService conversionService)
      Specified by:
      setConversionService in interface io.micronaut.core.convert.ConversionServiceAware
    • getAll

      public List<String> getAll(CharSequence name)
      Specified by:
      getAll in interface io.micronaut.core.convert.value.ConvertibleMultiValues<String>
    • get

      public String get(CharSequence name)
      Specified by:
      get in interface io.micronaut.core.convert.value.ConvertibleMultiValues<String>
    • names

      public Set<String> names()
      Specified by:
      names in interface io.micronaut.core.convert.value.ConvertibleValues<List<String>>
    • values

      public Collection<List<String>> values()
      Specified by:
      values in interface io.micronaut.core.convert.value.ConvertibleValues<List<String>>
    • get

      public <T> Optional<T> get(CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
      Specified by:
      get in interface io.micronaut.core.value.ValueResolver<CharSequence>