public class ParameterValidationRule extends Object
HTTPRequestValidationHandler
 
 NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<ParameterValidationRule> | __TYPE_ARG | 
| Constructor and Description | 
|---|
| ParameterValidationRule(Object delegate) | 
| ParameterValidationRule(ParameterValidationRule delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | allowEmptyValue()allowEmptyValue is used in query, header, cookie and form parameters. | 
| boolean | equals(Object o) | 
| ParameterValidationRule | getDelegate() | 
| String | getName()This function return the name of the parameter expected into parameter lists | 
| int | hashCode() | 
| boolean | isOptional()Return true if parameter is optional | 
| static ParameterValidationRule | newInstance(ParameterValidationRule arg) | 
| ParameterTypeValidator | parameterTypeValidator()Return ParameterTypeValidator instance used inside this parameter validation rule | 
| String | toString() | 
| RequestParameter | validateArrayParam(List<String> value)This function will be called when there is a List | 
| RequestParameter | validateSingleParam(String value)This function will be called when there is only a string as parameter. | 
public static final io.vertx.lang.rx.TypeArg<ParameterValidationRule> __TYPE_ARG
public ParameterValidationRule(ParameterValidationRule delegate)
public ParameterValidationRule(Object delegate)
public ParameterValidationRule getDelegate()
public String getName()
public RequestParameter validateSingleParam(String value)
value - list of values that will be validatedpublic RequestParameter validateArrayParam(List<String> value)
value - list of values that will be validatedpublic boolean isOptional()
public ParameterTypeValidator parameterTypeValidator()
public boolean allowEmptyValue()
public static ParameterValidationRule newInstance(ParameterValidationRule arg)
Copyright © 2023 Eclipse. All rights reserved.