io.vertx.ext.web.api.validation

## Interface CustomValidator

- Deprecated.
  You should use the new module vertx-web-openapi

      @Deprecated
      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 Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(RoutingContext routingContext)` Deprecated. This function have to be synchronous.

- - ### Method Detail

    - #### validate

          void validate(RoutingContext routingContext)
                 throws ValidationException

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

Copyright © 2024 Eclipse. All rights reserved.