Uses of Class
io.github.belgif.rest.problem.validation.RequestValidator
Packages that use RequestValidator
-
Uses of RequestValidator in io.github.belgif.rest.problem.validation
Methods in io.github.belgif.rest.problem.validation that return RequestValidatorModifier and TypeMethodDescriptionValidate that any of the given inputs is present.RequestValidator.custom(InputValidator validator) Register a customInputValidator.RequestValidator.enterpriseNumber(Input<String> enterpriseNumber) Validate the structure of a Belgif openapi-organization-identifier EnterpriseNumber.Validate that the given inputs are equal (according toObject.equals(Object)).RequestValidator.establishmentUnitNumber(Input<String> establishmentUnitNumber) Validate the structure of a Belgif openapi-organization-identifier EstablishmentUnitNumber.RequestValidator.exactlyOneOf(Input<?>... inputs) Validate that exactly one of the given inputs is present.RequestValidator.incompleteDate(Input<String> incompleteDate) Validate the structure of a Belgif openapi-time IncompleteDate.RequestValidator.nullOrEqual(Input<?> nullableInput, Input<?> mustMatch) Validate that the given input is either null, or equal to another given input if present.Validate the structure of a Belgif openapi-time Period or PeriodOptionalEnd.<T extends Temporal & Comparable<? super T>>
RequestValidatorValidate that two comparable temporal inputs make a valid period.<T> RequestValidatorRequestValidator.refData(Input<T> input, Collection<T> allowedRefData) Validate that the given input is in the allowed reference data.<T> RequestValidatorValidate that the given input is in the allowed reference data.<T> RequestValidatorRequestValidator.refData(Input<T> input, Supplier<Collection<T>> allowedRefDataSupplier) Validate that the given input is in the allowed reference data.<T> RequestValidatorRequestValidator.refDatas(Input<List<T>> input, Collection<T> allowedRefData) Validate that the given input is in the allowed reference data.<T> RequestValidatorValidate that the given input is in the allowed reference data.<T> RequestValidatorRequestValidator.refDatas(Input<List<T>> input, Supplier<Collection<T>> allowedRefDataSupplier) Validate that the given input is in the allowed reference data.<T> RequestValidatorValidate that the given input is not present.<T> RequestValidatorValidate that the given input is present.Validate the structure of a Belgif openapi-person-identifier SSIN.Validate the structure of a list of Belgif openapi-person-identifier SSIN.RequestValidator.when(boolean condition, Consumer<RequestValidator> requestValidatorConsumer) Conditionally register input validators.Validate the structure of a Belgif openapi-time YearMonth.RequestValidator.zeroOrAllOf(Input<?>... inputs) Validate that all or none of the given inputs are present.RequestValidator.zeroOrExactlyOneOf(Input<?>... inputs) Validate that exactly one or none of the given inputs are present.Method parameters in io.github.belgif.rest.problem.validation with type arguments of type RequestValidatorModifier and TypeMethodDescriptionRequestValidator.when(boolean condition, Consumer<RequestValidator> requestValidatorConsumer) Conditionally register input validators.