Interface RequestExtractor


public interface RequestExtractor
  • Method Details

    • 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.