Class RequestExtractor


  • public class RequestExtractor
    extends Object
    • Constructor Detail

      • RequestExtractor

        public RequestExtractor​(io.vertx.ext.web.openapi.router.RequestExtractor delegate)
      • RequestExtractor

        public RequestExtractor​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public io.vertx.ext.web.openapi.router.RequestExtractor getDelegate()
      • extractValidatableRequest

        public io.vertx.core.Future<ValidatableRequest> extractValidatableRequest​(RoutingContext routingContext,
                                                                                  Operation operation)
        Extracts and transforms the parameters and the body of an incoming request into a 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 holding the .
      • withBodyHandler

        public static RequestExtractor withBodyHandler()
        Returns:
        a RequestExtractor that works in case that a BodyHandler was applied to the related route.
      • newInstance

        public static RequestExtractor newInstance​(io.vertx.ext.web.openapi.router.RequestExtractor arg)