Class ParameterValidationRule
java.lang.Object
io.vertx.mutiny.ext.web.api.validation.ParameterValidationRule
- All Implemented Interfaces:
MutinyDelegate
This function is an inner wrapper for ParameterTypeValidator inside ValidationHandler parameter maps. Don't
instantiate this class, if you want to add custom ParameterTypeValidator to a parameter use functions in
HTTPRequestValidationHandler
NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParameterValidationRule(io.vertx.ext.web.api.validation.ParameterValidationRule delegate) ParameterValidationRule(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.booleanio.vertx.ext.web.api.validation.ParameterValidationRulegetName()Deprecated.inthashCode()booleanDeprecated.static ParameterValidationRulenewInstance(io.vertx.ext.web.api.validation.ParameterValidationRule arg) Deprecated.toString()validateArrayParam(List<String> value) Deprecated.validateSingleParam(String value) Deprecated.
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ParameterValidationRule
public ParameterValidationRule(io.vertx.ext.web.api.validation.ParameterValidationRule delegate) -
ParameterValidationRule
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.api.validation.ParameterValidationRule getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
getName
Deprecated.- Returns:
- name of the parameter
-
validateSingleParam
Deprecated.- Parameters:
value- list of values that will be validated- Returns:
-
validateArrayParam
Deprecated.- Parameters:
value- list of values that will be validated- Returns:
-
isOptional
Deprecated.- Returns:
- true if is optional, false otherwise
-
parameterTypeValidator
Deprecated.- Returns:
-
allowEmptyValue
Deprecated.- Returns:
- value of allowEmptyValue
-
newInstance
public static ParameterValidationRule newInstance(io.vertx.ext.web.api.validation.ParameterValidationRule arg)
-