Class RequestExtractor
java.lang.Object
io.vertx.reactivex.ext.web.openapi.router.RequestExtractor
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRequestExtractor(RequestExtractor delegate) RequestExtractor(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanextractValidatableRequest(RoutingContext routingContext, Operation operation) Extracts and transforms the parameters and the body of an incoming request into a that can be validated by theRequestValidator.inthashCode()static RequestExtractorrxExtractValidatableRequest(RoutingContext routingContext, Operation operation) Extracts and transforms the parameters and the body of an incoming request into a that can be validated by theRequestValidator.toString()static RequestExtractor
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
RequestExtractor
-
RequestExtractor
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
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 theRequestValidator.- 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 theRequestValidator.- Parameters:
routingContext- The routing context of the incoming request.operation- The operation of the related request.- Returns:
- A holding the .
-
withBodyHandler
- Returns:
- a RequestExtractor that works in case that a BodyHandler was applied to the related route.
-
newInstance
-