Class RequestExtractor
- java.lang.Object
-
- io.vertx.rxjava3.ext.web.openapi.router.RequestExtractor
-
public class RequestExtractor extends Object
-
-
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 boolean
equals(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
.RequestExtractor
getDelegate()
int
hashCode()
static RequestExtractor
newInstance(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
.String
toString()
static RequestExtractor
withBodyHandler()
-
-
-
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()
-
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)
-
-