Class RequestExtractor


  • public class RequestExtractor
    extends Object
    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<RequestExtractor> __TYPE_ARG
    • Constructor Detail

      • RequestExtractor

        public RequestExtractor​(Object delegate)
    • Method Detail

      • hashCode

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

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

        public Single<ValidatableRequest> rxExtractValidatableRequest​(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.