io.vertx.ext.json.schema.common

## Interface AsyncValidator

- All Superinterfaces:
    PriorityGetter, Validator
  All Known Subinterfaces:
    MutableStateValidator, SchemaInternal
  All Known Implementing Classes:
    BaseAsyncValidator, BaseCombinatorsValidator, BaseMutableStateValidator, BaseSingleSchemaValidator, FalseSchema, RecursiveRefSchema, RefSchema, SchemaImpl, TrueSchema

      public interface AsyncValidator
      extends Validator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Future<Void>` | `validateAsync(ValidatorContext context, Object in)` Return a Future that succeed when the validation succeed, while fail with a `ValidationException` when validation fails

    - ### Methods inherited from interface io.vertx.ext.json.schema.common.Validator

      `isSync`

    - ### Methods inherited from interface io.vertx.ext.json.schema.common.PriorityGetter

      `getPriority`

- - ### Method Detail

    - #### validateAsync

          Future<Void> validateAsync(ValidatorContext context,
                                     Object in)

      Return a Future that succeed when the validation succeed, while fail with a `ValidationException` when validation fails
      Parameters:
        `context` -
        `in` -
      Returns:

Copyright © 2020 Eclipse. All rights reserved.