public static class MultiValuesConverterFactory.IterableToMultiValuesConverter extends MultiValuesConverterFactory.AbstractConverterToMultiValues<java.lang.Iterable>
Iterable
to ConvertibleMultiValues
.conversionService
Constructor and Description |
---|
IterableToMultiValuesConverter(ConversionService<?> conversionService) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDeepObjectValues(ArgumentConversionContext<java.lang.Object> context,
java.lang.String name,
java.lang.Iterable object,
MutableConvertibleMultiValuesMap<java.lang.String> parameters)
Method that adds given value to the parameters in A DEEP_OBJECT format.
|
protected void |
addMutliValues(ArgumentConversionContext<java.lang.Object> context,
java.lang.String name,
java.lang.Iterable object,
MutableConvertibleMultiValuesMap<java.lang.String> parameters)
Method that adds given value to the parameters in a MULTI format.
|
protected void |
addSeparatedValues(ArgumentConversionContext<java.lang.Object> context,
java.lang.String name,
java.lang.Iterable object,
MutableConvertibleMultiValuesMap<java.lang.String> parameters,
java.lang.Character delimiter)
Method that adds given value to the parameters in a format separated by a delimiter.
|
annotationType, convert
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, of
public IterableToMultiValuesConverter(ConversionService<?> conversionService)
protected void addSeparatedValues(ArgumentConversionContext<java.lang.Object> context, java.lang.String name, java.lang.Iterable object, MutableConvertibleMultiValuesMap<java.lang.String> parameters, java.lang.Character delimiter)
MultiValuesConverterFactory.AbstractConverterToMultiValues
addSeparatedValues
in class MultiValuesConverterFactory.AbstractConverterToMultiValues<java.lang.Iterable>
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<java.lang.Object> context, java.lang.String name, java.lang.Iterable object, MutableConvertibleMultiValuesMap<java.lang.String> parameters)
MultiValuesConverterFactory.AbstractConverterToMultiValues
addMutliValues
in class MultiValuesConverterFactory.AbstractConverterToMultiValues<java.lang.Iterable>
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<java.lang.Object> context, java.lang.String name, java.lang.Iterable object, MutableConvertibleMultiValuesMap<java.lang.String> parameters)
MultiValuesConverterFactory.AbstractConverterToMultiValues
addDeepObjectValues
in class MultiValuesConverterFactory.AbstractConverterToMultiValues<java.lang.Iterable>
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