public interface BodyValidator extends Validator<Body>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBasicValidator()
Basic validators run essential checks and are run always if validate is called.
If this method returns false and the caller of the validator respects this property, the checks will only be run if the debug or validation option is activated. |
void |
validate(Body body,
List<ValidationException> exceptions)
Validates the given body and saves all validation errors in the given list.
|
void validate(Body body, List<ValidationException> exceptions)
boolean isBasicValidator()
isBasicValidator in interface Validator<Body>Copyright © 2024 Soot OSS. All rights reserved.