Package io.dropwizard.validation
package io.dropwizard.validation
-
ClassDescriptionThis class provides static methods to obtain configured
Validator
instances.This class provides static methods to work with constraint violations.The annotated element has to be in the appropriate range.Defines several@DataSizeRange
annotations on the same element.The annotated element has to be in the appropriate range.Defines several@DurationRange
annotations on the same element.Utilities used for message interpolation.The annotated element must be aDataSize
whose value must be less than or equal to the specified maximum.Check that aDataSize
being validated is less than or equal to the minimum value specified.The annotated element must be aDuration
whose value must be higher or equal to the specified minimum.Check that aDuration
being validated is less than or equal to the minimum value specified.A validator forValidationMethod
-annotated methods.The annotated element must be aDataSize
whose value must be higher or equal to the specified minimum.Check that aDataSize
being validated is greater than or equal to the minimum value specified.The annotated element must be aDuration
whose value must be higher or equal to the specified minimum.Check that aDuration
being 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.