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 Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<RequestExtractor>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description RequestExtractor(RequestExtractor delegate)RequestExtractor(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)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 theRequestValidator.RequestExtractorgetDelegate()inthashCode()static RequestExtractornewInstance(RequestExtractor arg)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.StringtoString()static RequestExtractorwithBodyHandler()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<RequestExtractor> __TYPE_ARG
-
-
Constructor Detail
-
RequestExtractor
public RequestExtractor(RequestExtractor delegate)
-
RequestExtractor
public RequestExtractor(Object delegate)
-
-
Method Detail
-
getDelegate
public RequestExtractor getDelegate()
- Specified by:
getDelegatein interfaceio.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 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
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)
-
-