Interface | Description |
---|---|
Constraints.PlayConstraintValidator<A extends java.lang.annotation.Annotation,T> | |
Constraints.Validatable<T> | |
ValidatorsComponents |
Java Components for Validator.
|
Class | Description |
---|---|
Constraints |
Defines a set of built-in validation constraints.
|
Constraints.EmailValidator |
Validator for
@Email fields. |
Constraints.MaxLengthValidator |
Validator for
@MaxLength fields. |
Constraints.MaxValidator |
Validator for
@Max fields. |
Constraints.MinLengthValidator |
Validator for
@MinLength fields. |
Constraints.MinValidator |
Validator for
@Min fields. |
Constraints.PatternValidator |
Validator for
@Pattern fields. |
Constraints.RequiredValidator |
Validator for
@Required fields. |
Constraints.ValidateValidator | |
Constraints.ValidateWithValidator |
Validator for
@ValidateWith fields. |
Constraints.Validator<T> |
Super-type for validators.
|
DefaultConstraintValidatorFactory |
Creates validator instances with injections available.
|
MappedConstraintValidatorFactory |
ConstraintValidatorFactory to be used with compile-time Dependency Injection.
|
ValidationError |
A form validation error.
|
ValidatorProvider | |
ValidatorsModule |
Annotation Type | Description |
---|---|
Constraints.Email |
Defines a email constraint for a string field.
|
Constraints.Max |
Defines a maximum value for a numeric field.
|
Constraints.MaxLength |
Defines a maximum length for a string field.
|
Constraints.Min |
Defines a minimum value for a numeric field.
|
Constraints.MinLength |
Defines a minimum length for a string field.
|
Constraints.Pattern |
Defines a pattern constraint for a string field.
|
Constraints.Required |
Defines a field as required.
|
Constraints.Validate | |
Constraints.ValidateWith |
Defines a custom validator.
|