Class CustomValidator
- java.lang.Object
-
- io.vertx.reactivex.ext.web.api.validation.CustomValidator
-
public class CustomValidator extends Object
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 theoriginal
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<CustomValidator>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description CustomValidator(CustomValidator delegate)
CustomValidator(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
CustomValidator
getDelegate()
int
hashCode()
static CustomValidator
newInstance(CustomValidator arg)
String
toString()
void
validate(RoutingContext routingContext)
Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<CustomValidator> __TYPE_ARG
-
-
Constructor Detail
-
CustomValidator
public CustomValidator(CustomValidator delegate)
-
CustomValidator
public CustomValidator(Object delegate)
-
-
Method Detail
-
getDelegate
public CustomValidator getDelegate()
-
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)
-
-