Class ParameterValidationRule
- java.lang.Object
-
- io.vertx.mutiny.ext.web.api.validation.ParameterValidationRule
-
public class ParameterValidationRule extends Object
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 inHTTPRequestValidationHandler
NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ParameterValidationRule>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ParameterValidationRule(io.vertx.ext.web.api.validation.ParameterValidationRule delegate)
ParameterValidationRule(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
allowEmptyValue()
Deprecated.boolean
equals(Object o)
io.vertx.ext.web.api.validation.ParameterValidationRule
getDelegate()
String
getName()
Deprecated.int
hashCode()
boolean
isOptional()
Deprecated.static ParameterValidationRule
newInstance(io.vertx.ext.web.api.validation.ParameterValidationRule arg)
ParameterTypeValidator
parameterTypeValidator()
Deprecated.String
toString()
RequestParameter
validateArrayParam(List<String> value)
Deprecated.RequestParameter
validateSingleParam(String value)
Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ParameterValidationRule> __TYPE_ARG
-
-
Constructor Detail
-
ParameterValidationRule
public ParameterValidationRule(io.vertx.ext.web.api.validation.ParameterValidationRule delegate)
-
ParameterValidationRule
public ParameterValidationRule(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.api.validation.ParameterValidationRule getDelegate()
-
getName
@Deprecated public String getName()
Deprecated.- Returns:
- name of the parameter
-
validateSingleParam
@Deprecated public RequestParameter validateSingleParam(String value)
Deprecated.- Parameters:
value
- list of values that will be validated- Returns:
-
validateArrayParam
@Deprecated public RequestParameter validateArrayParam(List<String> value)
Deprecated.- Parameters:
value
- list of values that will be validated- Returns:
-
isOptional
@Deprecated public boolean isOptional()
Deprecated.- Returns:
- true if is optional, false otherwise
-
parameterTypeValidator
@Deprecated public ParameterTypeValidator parameterTypeValidator()
Deprecated.- Returns:
-
allowEmptyValue
@Deprecated public boolean allowEmptyValue()
Deprecated.- Returns:
- value of allowEmptyValue
-
newInstance
public static ParameterValidationRule newInstance(io.vertx.ext.web.api.validation.ParameterValidationRule arg)
-
-