Package | Description |
---|---|
io.vertx.ext.web.api.validation |
Modifier and Type | Method and Description |
---|---|
static ValidationException |
ValidationException.ValidationExceptionFactory.generateDeserializationError(String message) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateEmptyValueValidationException(String parameterName,
ParameterValidationRule rule,
ParameterLocation location) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateFileNotFoundValidationException(String filename,
String contentType) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateInvalidJsonBodyException(String jsonPath,
String value,
String message) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateInvalidXMLBodyException(String message) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateNotFoundValidationException(String parameterName,
ParameterLocation location) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateNotMatchValidationException(String message) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateNotMatchValidationException(String parameterName,
String value,
ParameterValidationRule validationRule) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateNotParsableJsonBodyException(String message) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateObjectFieldNotFound(String fieldName) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateUnexpectedArraySizeValidationException(Integer maxItems,
Integer minItems,
Integer actualSize) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateUnexpectedArrayValidationException(String parameterName,
ParameterValidationRule validationRule) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateUnexpectedSingleStringValidationException(String parameterName,
ParameterValidationRule validationRule) |
static ValidationException |
ValidationException.ValidationExceptionFactory.generateWrongContentTypeExpected(String actualContentType,
String expectedContentType) |
Modifier and Type | Method and Description |
---|---|
List<String> |
ContainerDeserializer.deserializeArray(String serialized)
Deprecated.
|
Map<String,String> |
ContainerDeserializer.deserializeObject(String serialized)
Deprecated.
|
RequestParameter |
ParameterTypeValidator.isValid(String value)
Deprecated.
Function that checks if parameter is valid.
|
default RequestParameter |
ParameterTypeValidator.isValidCollection(List<String> value)
Deprecated.
Function that checks if array of values of a specific parameter.
|
void |
CustomValidator.validate(RoutingContext routingContext)
Deprecated.
This function have to be synchronous.
|
RequestParameter |
ParameterValidationRule.validateArrayParam(List<String> value)
Deprecated.
This function will be called when there is a List
|
RequestParameter |
ParameterValidationRule.validateSingleParam(String value)
Deprecated.
This function will be called when there is only a string as parameter.
|
Copyright © 2024 Eclipse. All rights reserved.