Interface RequestExtractor
public interface RequestExtractor
-
Method Summary
Modifier and TypeMethodDescriptionextractValidatableRequest(RoutingContext routingContext, Operation operation) Extracts and transforms the parameters and the body of an incoming request into aformatthat can be validated by theRequestValidator.static RequestExtractor
-
Method Details
-
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
- Returns:
- a RequestExtractor that works in case that a BodyHandler was applied to the related route.
-