Class VariableListConverter

All Implemented Interfaces:
StringToTypeConverter<List<VariableQueryParameterDto>>

public class VariableListConverter extends JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>
Reads a list of VariableQueryParameterDtos from a single parameter. Expects a given format (see method comments).
Author:
Thorben Lindhauer
  • Constructor Details

    • VariableListConverter

      public VariableListConverter()
  • Method Details

    • convertQueryParameterToType

      public List<VariableQueryParameterDto> convertQueryParameterToType(String value)
      Expects a query parameter of multiple variable expressions formatted as KEY_OPERATOR_VALUE, e.g. aVariable_eq_aValue. Multiple values are expected to be comma-separated.