Interface | Description |
---|---|
Constraints.PlayConstraintValidator<A extends java.lang.annotation.Annotation,T> | |
Constraints.PlayConstraintValidatorWithPayload<A extends java.lang.annotation.Annotation,T> | |
Constraints.Validatable<T> | |
Constraints.ValidatableWithPayload<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.ValidatePayloadWithValidator |
Validator for
@ValidatePayloadWith fields. |
Constraints.ValidateValidator | |
Constraints.ValidateValidatorWithPayload | |
Constraints.ValidateWithValidator |
Validator for
@ValidateWith fields. |
Constraints.ValidationPayload | |
Constraints.Validator<T> |
Super-type for validators.
|
Constraints.ValidatorWithPayload<T> |
Super-type for validators with a payload.
|
DefaultConstraintValidatorFactory |
Creates validator instances with injections available.
|
MappedConstraintValidatorFactory |
ConstraintValidatorFactory to be used with compile-time Dependency Injection.
|
ValidationError |
A form validation error.
|
ValidatorFactoryProvider | |
ValidatorProvider | Deprecated
Deprecated since 2.7.0.
|
ValidatorsModule |
Annotation Type | Description |
---|---|
Constraints.Email |
Defines a email constraint for a string field.
|
Constraints.Email.List |
Defines several
@Email annotations on the same element. |
Constraints.Max |
Defines a maximum value for a numeric field.
|
Constraints.Max.List |
Defines several
@Max annotations on the same element. |
Constraints.MaxLength |
Defines a maximum length for a string field.
|
Constraints.MaxLength.List |
Defines several
@MaxLength annotations on the same element. |
Constraints.Min |
Defines a minimum value for a numeric field.
|
Constraints.Min.List |
Defines several
@Min annotations on the same element. |
Constraints.MinLength |
Defines a minimum length for a string field.
|
Constraints.MinLength.List |
Defines several
@MinLength annotations on the same element. |
Constraints.Pattern |
Defines a pattern constraint for a string field.
|
Constraints.Pattern.List |
Defines several
@Pattern annotations on the same element. |
Constraints.Required |
Defines a field as required.
|
Constraints.Required.List |
Defines several
@Required annotations on the same element. |
Constraints.Validate | |
Constraints.Validate.List |
Defines several
@Validate annotations on the same element. |
Constraints.ValidatePayloadWith |
Defines a custom validator.
|
Constraints.ValidatePayloadWith.List |
Defines several
@ValidatePayloadWith annotations on the same element. |
Constraints.ValidateWith |
Defines a custom validator.
|
Constraints.ValidateWith.List |
Defines several
@ValidateWith annotations on the same element. |
Constraints.ValidateWithPayload | |
Constraints.ValidateWithPayload.List |
Defines several
@ValidateWithPayload annotations on the same element. |