public static class MultiValuesConverterFactory.MapToMultiValuesConverter extends MultiValuesConverterFactory.AbstractConverterToMultiValues<Map>
Map to ConvertibleMultiValues.conversionService| Constructor and Description |
|---|
MapToMultiValuesConverter(ConversionService<?> conversionService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDeepObjectValues(ArgumentConversionContext<Object> context,
String name,
Map object,
MutableConvertibleMultiValuesMap<String> parameters)
Method that adds given value to the parameters in A DEEP_OBJECT format.
|
protected void |
addMutliValues(ArgumentConversionContext<Object> context,
String name,
Map object,
MutableConvertibleMultiValuesMap<String> parameters)
Method that adds given value to the parameters in a MULTI format.
|
protected void |
addSeparatedValues(ArgumentConversionContext<Object> context,
String name,
Map object,
MutableConvertibleMultiValuesMap<String> parameters,
Character delimiter)
Method that adds given value to the parameters in a format separated by a delimiter.
|
annotationType, convertclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, ofpublic MapToMultiValuesConverter(ConversionService<?> conversionService)
protected void addSeparatedValues(ArgumentConversionContext<Object> context, String name, Map object, MutableConvertibleMultiValuesMap<String> parameters, Character delimiter)
MultiValuesConverterFactory.AbstractConverterToMultiValuesaddSeparatedValues in class MultiValuesConverterFactory.AbstractConverterToMultiValues<Map>context - - the context of conversion which has the source type and any present annotationsname - - the name of the parameterobject - - the object that we are converting fromparameters - - the parameters to the value of additional parameter will be addeddelimiter - - the required delimiter of the values in the parameter Stringprotected void addMutliValues(ArgumentConversionContext<Object> context, String name, Map object, MutableConvertibleMultiValuesMap<String> parameters)
MultiValuesConverterFactory.AbstractConverterToMultiValuesaddMutliValues in class MultiValuesConverterFactory.AbstractConverterToMultiValues<Map>context - - the context of conversion which has the source type and any present annotationsname - - the name of the parameterobject - - the object that we are converting fromparameters - - the parameters to the value of additional parameter will be addedprotected void addDeepObjectValues(ArgumentConversionContext<Object> context, String name, Map object, MutableConvertibleMultiValuesMap<String> parameters)
MultiValuesConverterFactory.AbstractConverterToMultiValuesaddDeepObjectValues in class MultiValuesConverterFactory.AbstractConverterToMultiValues<Map>context - - the context of conversion which has the source type and any present annotationsname - - the name of the parameterobject - - the object that we are converting fromparameters - - the parameters to the value of additional parameter will be added