io.vertx.ext.web.openapi.router

## Interface RequestExtractor

-     public interface RequestExtractor

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Future<ValidatableRequest>` | `extractValidatableRequest(RoutingContext routingContext, Operation operation)` Extracts and transforms the parameters and the body of an incoming request into a `format` that can be validated by the `RequestValidator`.
    `static RequestExtractor` | `withBodyHandler()`

- - ### Method Detail

    - #### extractValidatableRequest

          Future<ValidatableRequest> extractValidatableRequest(RoutingContext routingContext,
                                                               Operation operation)

      Extracts and transforms the parameters and the body of an incoming request into a `format` that can be validated by the `RequestValidator`.
      Parameters:
        `routingContext` - The routing context of the incoming request.
        `operation` - The operation of the related request.
      Returns:
        A `Future` holding the `ValidatableRequest`.

    - #### withBodyHandler

          static RequestExtractor withBodyHandler()

      Returns:
        a RequestExtractor that works in case that a BodyHandler was applied to the related route.

Copyright © 2024 Eclipse. All rights reserved.