io.vertx.reactivex.ext.web.validation

## Class ValidationHandler

- java.lang.Object
- - io.vertx.reactivex.ext.web.validation.ValidationHandler

- All Implemented Interfaces:
    Handler<RoutingContext>

      public class ValidationHandler
      extends Object
      implements Handler<RoutingContext>

  This is the entry point of this module. Provides the parsing, validation and puts the parsed objects into .
  You can easily build a new validation handler using a , that you can create with .
  For more info read the doc.

  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<ValidationHandler>` | `__TYPE_ARG`
    `static String` | `REQUEST_CONTEXT_KEY`

  - ### Constructor Summary

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ValidationHandlerBuilder` | `builder(SchemaParser parser)` Deprecated.
    `boolean` | `equals(Object o)`
    `ValidationHandler` | `getDelegate()`
    `void` | `handle(RoutingContext event)` Something has happened, so handle it.
    `int` | `hashCode()`
    `static ValidationHandler` | `newInstance(ValidationHandler arg)`
    `String` | `toString()`

    - ### 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<ValidationHandler> __TYPE_ARG

    - #### REQUEST_CONTEXT_KEY

          public static final String REQUEST_CONTEXT_KEY

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ValidationHandler

          public ValidationHandler(ValidationHandler delegate)

    - #### ValidationHandler

          public ValidationHandler(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 ValidationHandler getDelegate()

    - #### handle

          public void handle(RoutingContext event)

      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<RoutingContext>`
      Parameters:
        `event` - the event to handle

    - #### builder

          @Deprecated
          public static ValidationHandlerBuilder builder(SchemaParser parser)

      Deprecated.
      Parameters:
        `parser` - a SchemaParser
      Returns:
        an instance of .

    - #### newInstance

          public static ValidationHandler newInstance(ValidationHandler arg)

Copyright © 2024 Eclipse. All rights reserved.