Class CustomValidator
- java.lang.Object
-
- io.vertx.reactivex.ext.web.api.validation.CustomValidator
-
- All Implemented Interfaces:
RxDelegate
@Deprecated public class CustomValidator extends Object implements RxDelegate
Deprecated.This interface is used to add custom synchronous functions inside validation process. You can add it inHTTPRequestValidationHandler. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<CustomValidator>__TYPE_ARGDeprecated.
-
Constructor Summary
Constructors Constructor Description CustomValidator(CustomValidator delegate)Deprecated.CustomValidator(Object delegate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.CustomValidatorgetDelegate()Deprecated.inthashCode()Deprecated.static CustomValidatornewInstance(CustomValidator arg)Deprecated.StringtoString()Deprecated.voidvalidate(RoutingContext routingContext)Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<CustomValidator> __TYPE_ARG
Deprecated.
-
-
Constructor Detail
-
CustomValidator
public CustomValidator(CustomValidator delegate)
Deprecated.
-
CustomValidator
public CustomValidator(Object delegate)
Deprecated.
-
-
Method Detail
-
getDelegate
public CustomValidator getDelegate()
Deprecated.- Specified by:
getDelegatein interfaceRxDelegate
-
validate
@Deprecated public void validate(RoutingContext routingContext)
Deprecated.This function have to be synchronous. It doesn't return nothing if validation succedes, otherwise it throws ValidationException.
Don't call routingContext.next() or routingContext.fail() from this function- Parameters:
routingContext- the actual routing context
-
newInstance
public static CustomValidator newInstance(CustomValidator arg)
Deprecated.
-
-