open class CustomValidator
This interface is used to add custom synchronous functions inside validation process. You can add it in io.vertx.rxjava.ext.web.api.validation.HTTPRequestValidationHandler. NOTE: This class has been automatically generated from the io.vertx.ext.web.api.validation.CustomValidator non RX-ified interface using Vert.x codegen.
CustomValidator(delegate: CustomValidator) |
static val __TYPE_ARG: TypeArg<CustomValidator> |
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): CustomValidator |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: CustomValidator): CustomValidator |
|
open fun toString(): String |
|
open 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 |