Class RequestExtractor

java.lang.Object
io.vertx.rxjava3.ext.web.openapi.router.RequestExtractor
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class RequestExtractor extends Object implements io.vertx.lang.rx.RxDelegate
  • Field Details

    • __TYPE_ARG

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

    • RequestExtractor

      public RequestExtractor(RequestExtractor delegate)
    • RequestExtractor

      public RequestExtractor(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public RequestExtractor getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • extractValidatableRequest

      public Single<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.
    • newInstance

      public static RequestExtractor newInstance(RequestExtractor arg)