| Interface | Description |
|---|---|
| Validation |
This interface means the validation context (implemented by
ValidationImpl) and can be injected in your
controller method. |
| Validator<T> |
A validator for validating parameters
|
| Class | Description |
|---|---|
| ConstraintViolation |
A validation constraint violation
|
| FieldViolation | |
| ValidationImpl |
Validation object
|
| Validators |
Built in validators.
|
| Validators.DateValidator | |
| Validators.EnumValidator | |
| Validators.FloatValidator | |
| Validators.IntegerValidator | |
| Validators.JSRValidator | |
| Validators.LengthValidator | |
| Validators.MatchesValidator | |
| Validators.NumberValidator | |
| Validators.RequiredValidator | |
| Validators.UUIDValidator |
| Annotation Type | Description |
|---|---|
| IsDate |
Validates that the field is a date.
|
| IsEnum |
Validates that the field is a valid enum constant.
|
| IsFloat |
Validates that the field is a floating point number.
|
| IsInteger |
Validates that the field is an integer.
|
| IsUUID | |
| JSR303Validation |
Validates that the annotated element is conform to its JSR303-Annotations
|
| Length |
Validates that the length of the field meets the given length constraints
|
| Matches |
Validates that the parameter matches the given regular expression
|
| NumberValue |
Validates that the value of a number meets certain parameters
|
| Required | Deprecated
Please use Optional in controller method instead.
|
| WithValidator |
Indicates that the annotation should have this validator class applied to it
|
Copyright © 2019 ninjaframework. All rights reserved.