All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.mutiny.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler Maven / Gradle / Ivy

The newest version!
package io.vertx.mutiny.ext.web.api.contract.openapi3;

import java.util.Map;
import java.util.stream.Collectors;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.TypeArg;
import io.vertx.codegen.annotations.Fluent;
import io.smallrye.common.annotation.CheckReturnValue;

/**
 *
 * 

* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler original} non Mutiny-ified interface using Vert.x codegen. */ @io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler.class) public class OpenAPI3RequestValidationHandler implements io.vertx.mutiny.ext.web.api.contract.HTTPOperationRequestValidationHandler, io.vertx.core.Handler, java.util.function.Consumer { public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new OpenAPI3RequestValidationHandler((io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler) obj), OpenAPI3RequestValidationHandler::getDelegate ); private final io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler delegate; public OpenAPI3RequestValidationHandler(io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler delegate) { this.delegate = delegate; } public OpenAPI3RequestValidationHandler(Object delegate) { this.delegate = (io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler)delegate; } /** * Empty constructor used by CDI, do not use this constructor directly. **/ OpenAPI3RequestValidationHandler() { this.delegate = null; } public io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler getDelegate() { return delegate; } @Override public String toString() { return delegate.toString(); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; OpenAPI3RequestValidationHandler that = (OpenAPI3RequestValidationHandler) o; return delegate.equals(that.delegate); } @Override public int hashCode() { return delegate.hashCode(); } @Deprecated public void handle(io.vertx.mutiny.ext.web.RoutingContext arg0) { delegate.handle(arg0.getDelegate()); } /** * @deprecated */ @Deprecated public void parseOperationSpec() { delegate.parseOperationSpec(); } public void accept(io.vertx.mutiny.ext.web.RoutingContext item) { handle(item); } public static OpenAPI3RequestValidationHandler newInstance(io.vertx.ext.web.api.contract.openapi3.OpenAPI3RequestValidationHandler arg) { return arg != null ? new OpenAPI3RequestValidationHandler(arg) : null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy