io.vertx.ext.web.api.validation

## Interface CustomValidator

-     public interface CustomValidator

  This interface is used to add custom synchronous functions inside validation process. You can add it in `HTTPRequestValidationHandler`.
  Author:
    Francesco Guardiani @slinkydeveloper

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(RoutingContext routingContext)` This function have to be synchronous.

- - ### Method Detail

    - #### validate

          void validate(RoutingContext routingContext)
                 throws ValidationException

      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
      Throws:
        `ValidationException`

Copyright © 2022 Eclipse. All rights reserved.