Class UniqueItemsConstraintValidator

    • Constructor Detail

      • UniqueItemsConstraintValidator

        public UniqueItemsConstraintValidator()
    • Method Detail

      • validate

        public void validate​(List<?> actual,
                             HttpModelType httpModelType,
                             String modelName)
        Description copied from interface: ConstraintValidator
        Validates the single actual.

        The state of the actual must not be altered.

        Parameters:
        actual - the actual value to validate
        httpModelType - the http model type
        modelName - the parameter or header name