io.vertx.rxjava3.ext.web.api.validation

## Class CustomValidator

- java.lang.Object
- - io.vertx.rxjava3.ext.web.api.validation.CustomValidator

-     public class CustomValidator
      extends Object

  This interface is used to add custom synchronous functions inside validation process. You can add it in `HTTPRequestValidationHandler`.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<CustomValidator>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CustomValidator(CustomValidator delegate)`
    `CustomValidator(Object delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `CustomValidator` | `getDelegate()`
    `int` | `hashCode()`
    `static CustomValidator` | `newInstance(CustomValidator arg)`
    `String` | `toString()`
    `void` | `validate(RoutingContext routingContext)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<CustomValidator> __TYPE_ARG

  - ### Constructor Detail

    - #### CustomValidator

          public CustomValidator(CustomValidator delegate)

    - #### CustomValidator

          public CustomValidator(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public CustomValidator getDelegate()

    - #### validate

          @Deprecated
          public void validate(RoutingContext routingContext)

      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

    - #### newInstance

          public static CustomValidator newInstance(CustomValidator arg)

Copyright © 2021 Eclipse. All rights reserved.