Package io.dropwizard.validation
package io.dropwizard.validation
-
ClassDescriptionThis class provides static methods to obtain configured
Validatorinstances.This class provides static methods to work with constraint violations.The annotated element has to be in the appropriate range.Defines several@DataSizeRangeannotations on the same element.The annotated element has to be in the appropriate range.Defines several@DurationRangeannotations on the same element.Utilities used for message interpolation.The annotated element must be aDataSizewhose value must be less than or equal to the specified maximum.Check that aDataSizebeing validated is less than or equal to the minimum value specified.The annotated element must be aDurationwhose value must be higher or equal to the specified minimum.Check that aDurationbeing validated is less than or equal to the minimum value specified.A validator forValidationMethod-annotated methods.The annotated element must be aDataSizewhose value must be higher or equal to the specified minimum.Check that aDataSizebeing validated is greater than or equal to the minimum value specified.The annotated element must be aDurationwhose value must be higher or equal to the specified minimum.Check that aDurationbeing validated is greater than or equal to the minimum value specified.Checks to see that the value is one of a set of elements.Check that the string representation of an object is in a given set of valid values.A constraint that allows one to specify a port range, but still allow 0 as the port value to indicate dynamically allocated ports.Allow 0 to indicate dynamic port range allocation.Due to limit of @see javax.validation.Valid Annotation for validation groups and ordered validations, this annotation is serving supplementary purposes to validation process.Validates a bean predicate method as returning true.