Class AbstractListConstraintValidator

    • Constructor Detail

      • AbstractListConstraintValidator

        public AbstractListConstraintValidator()
    • Method Detail

      • validateList

        public final void validateList​(List<List<?>> list,
                                       HttpModelType httpModelType,
                                       String modelName)
        Description copied from interface: ConstraintValidator
        Validates the value list.

        The state of the list must not be altered.

        Specified by:
        validateList in interface ConstraintValidator<List<?>>
        Parameters:
        list - the list to validate
        httpModelType - the http model type
        modelName - the parameter or header name
      • validateList

        public final void validateList​(List<List<?>> models)
        Description copied from interface: ConstraintValidator
        Validates the root model list.

        The state of the value must not be altered.

        Specified by:
        validateList in interface ConstraintValidator<List<?>>
        Parameters:
        models - the model list to validate