vertx / io.vertx.reactivex.ext.web.api.contract / DesignDrivenRouterFactory / enableValidationFailureHandler

enableValidationFailureHandler

abstract fun enableValidationFailureHandler(enable: Boolean): DesignDrivenRouterFactory<Any>

Enable or disable validation failure handler. If you enable it, during router creation it will be mounted a built-in (or custom with function io.vertx.reactivex.ext.web.api.contract.DesignDrivenRouterFactory#setValidationFailureHandler) ValidationException handler as a failure handler. If failure is different from ValidationException, it will be called the next failure handler.

Parameters

enable -

Return