Package io.vertx.ext.web.openapi.router
Interface RequestExtractor
-
public interface RequestExtractor
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<ValidatableRequest>extractValidatableRequest(RoutingContext routingContext, Operation operation)Extracts and transforms the parameters and the body of an incoming request into aformatthat can be validated by theRequestValidator.static RequestExtractorwithBodyHandler()
-
-
-
Method Detail
-
extractValidatableRequest
Future<ValidatableRequest> extractValidatableRequest(RoutingContext routingContext, Operation operation)
Extracts and transforms the parameters and the body of an incoming request into aformatthat can be validated by theRequestValidator.- Parameters:
routingContext- The routing context of the incoming request.operation- The operation of the related request.- Returns:
- A
Futureholding theValidatableRequest.
-
withBodyHandler
static RequestExtractor withBodyHandler()
- Returns:
- a RequestExtractor that works in case that a BodyHandler was applied to the related route.
-
-