vertx / io.vertx.ext.web.api.validation / CustomValidator / validate

validate

abstract fun validate(routingContext: RoutingContext): Unit

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

Exceptions

ValidationException -