Class ValidatableRequest
java.lang.Object
io.vertx.mutiny.openapi.validation.ValidatedRequest
io.vertx.mutiny.openapi.validation.ValidatableRequest
- All Implemented Interfaces:
- MutinyDelegate
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionValidatableRequest(io.vertx.openapi.validation.ValidatableRequest delegate) ValidatableRequest(Object delegate) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanio.vertx.openapi.validation.ValidatableRequestinthashCode()static ValidatableRequestnewInstance(io.vertx.openapi.validation.ValidatableRequest arg) static io.smallrye.mutiny.Uni<ValidatableRequest>of(HttpServerRequest request, Operation operation) Creates a newValidatableRequestobject based on the passed and .static ValidatableRequestofAndAwait(HttpServerRequest request, Operation operation) static voidofAndForget(HttpServerRequest request, Operation operation) Variant ofof(io.vertx.mutiny.core.http.HttpServerRequest,io.vertx.mutiny.openapi.contract.Operation)that ignores the result of the operation.toString()Methods inherited from class io.vertx.mutiny.openapi.validation.ValidatedRequestgetBody, getCookies, getHeaders, getPathParameters, getQuery, newInstance
- 
Field Details- 
__TYPE_ARG
 
- 
- 
Constructor Details- 
ValidatableRequestpublic ValidatableRequest(io.vertx.openapi.validation.ValidatableRequest delegate) 
- 
ValidatableRequest
 
- 
- 
Method Details- 
getDelegatepublic io.vertx.openapi.validation.ValidatableRequest getDelegate()- Specified by:
- getDelegatein interface- MutinyDelegate
- Overrides:
- getDelegatein class- ValidatedRequest
- Returns:
- the delegate used by this Mutiny object of generated type
 
- 
toString- Overrides:
- toStringin class- ValidatedRequest
 
- 
equals- Overrides:
- equalsin class- ValidatedRequest
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ValidatedRequest
 
- 
of@CheckReturnValue public static io.smallrye.mutiny.Uni<ValidatableRequest> of(HttpServerRequest request, Operation operation) Creates a newValidatableRequestobject based on the passed and .Unlike the bare Vert.x variant, this method returns a Uni. Don't forget to subscribe on it to trigger the operation.- Parameters:
- request- The related request
- operation- The related operation
- Returns:
- the unifiring the result of the operation when completed, or a failure if the operation failed.
 
- 
ofAndAwaitBlocking variant ofof(io.vertx.mutiny.core.http.HttpServerRequest,io.vertx.mutiny.openapi.contract.Operation).This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException). - Parameters:
- request- The related request
- operation- The related operation
- Returns:
- the ValidatableRequest instance produced by the operation.
 
- 
ofAndForgetVariant ofof(io.vertx.mutiny.core.http.HttpServerRequest,io.vertx.mutiny.openapi.contract.Operation)that ignores the result of the operation.This method subscribes on the result of of(io.vertx.mutiny.core.http.HttpServerRequest,io.vertx.mutiny.openapi.contract.Operation), but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromof(io.vertx.mutiny.core.http.HttpServerRequest,io.vertx.mutiny.openapi.contract.Operation)but you don't need to compose it with other operations.- Parameters:
- request- The related request
- operation- The related operation
 
- 
getContentType
- 
newInstance
 
-