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

io.vertx.mutiny.ext.web.validation.builder.TupleParserFactory Maven / Gradle / Ivy

The newest version!
package io.vertx.mutiny.ext.web.validation.builder;

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;
import java.util.List;
import io.vertx.ext.web.validation.impl.parser.ValueParser;

/**
 * This interface is used to create  able to parse serialized object structures. 
* * Look at {@link io.vertx.mutiny.ext.web.validation.builder.Parsers} for all available factories * *

* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.validation.builder.TupleParserFactory original} non Mutiny-ified interface using Vert.x codegen. */ @io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.validation.builder.TupleParserFactory.class) public class TupleParserFactory { public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new TupleParserFactory((io.vertx.ext.web.validation.builder.TupleParserFactory) obj), TupleParserFactory::getDelegate ); private final io.vertx.ext.web.validation.builder.TupleParserFactory delegate; public TupleParserFactory(io.vertx.ext.web.validation.builder.TupleParserFactory delegate) { this.delegate = delegate; } public TupleParserFactory(Object delegate) { this.delegate = (io.vertx.ext.web.validation.builder.TupleParserFactory)delegate; } /** * Empty constructor used by CDI, do not use this constructor directly. **/ TupleParserFactory() { this.delegate = null; } public io.vertx.ext.web.validation.builder.TupleParserFactory 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; TupleParserFactory that = (TupleParserFactory) o; return delegate.equals(that.delegate); } @Override public int hashCode() { return delegate.hashCode(); } public io.vertx.ext.web.validation.impl.parser.ValueParser newTupleParser(List> itemsParser, io.vertx.ext.web.validation.impl.parser.ValueParser additionalItemsParser) { io.vertx.ext.web.validation.impl.parser.ValueParser ret = delegate.newTupleParser(itemsParser, additionalItemsParser); return ret; } public static TupleParserFactory newInstance(io.vertx.ext.web.validation.builder.TupleParserFactory arg) { return arg != null ? new TupleParserFactory(arg) : null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy