io.vertx.mutiny.ext.web.validation.builder.Parsers 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;
/**
* In this interface you can find all available {@link io.vertx.mutiny.ext.web.validation.builder.ArrayParserFactory}, {@link io.vertx.mutiny.ext.web.validation.builder.ObjectParserFactory} & {@link io.vertx.mutiny.ext.web.validation.builder.TupleParserFactory}
*
*
* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.validation.builder.Parsers original} non Mutiny-ified interface using Vert.x codegen.
*/
@io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.validation.builder.Parsers.class)
public class Parsers {
public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new Parsers((io.vertx.ext.web.validation.builder.Parsers) obj),
Parsers::getDelegate
);
private final io.vertx.ext.web.validation.builder.Parsers delegate;
public Parsers(io.vertx.ext.web.validation.builder.Parsers delegate) {
this.delegate = delegate;
}
public Parsers(Object delegate) {
this.delegate = (io.vertx.ext.web.validation.builder.Parsers)delegate;
}
/**
* Empty constructor used by CDI, do not use this constructor directly.
**/
Parsers() {
this.delegate = null;
}
public io.vertx.ext.web.validation.builder.Parsers 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;
Parsers that = (Parsers) o;
return delegate.equals(that.delegate);
}
@Override
public int hashCode() {
return delegate.hashCode();
}
public static io.vertx.mutiny.ext.web.validation.builder.ArrayParserFactory commaSeparatedArrayParser() {
io.vertx.mutiny.ext.web.validation.builder.ArrayParserFactory ret = io.vertx.mutiny.ext.web.validation.builder.ArrayParserFactory.newInstance((io.vertx.ext.web.validation.builder.ArrayParserFactory)io.vertx.ext.web.validation.builder.Parsers.commaSeparatedArrayParser());
return ret;
}
public static io.vertx.mutiny.ext.web.validation.builder.ObjectParserFactory commaSeparatedObjectParser() {
io.vertx.mutiny.ext.web.validation.builder.ObjectParserFactory ret = io.vertx.mutiny.ext.web.validation.builder.ObjectParserFactory.newInstance((io.vertx.ext.web.validation.builder.ObjectParserFactory)io.vertx.ext.web.validation.builder.Parsers.commaSeparatedObjectParser());
return ret;
}
public static io.vertx.mutiny.ext.web.validation.builder.TupleParserFactory commaSeparatedTupleParser() {
io.vertx.mutiny.ext.web.validation.builder.TupleParserFactory ret = io.vertx.mutiny.ext.web.validation.builder.TupleParserFactory.newInstance((io.vertx.ext.web.validation.builder.TupleParserFactory)io.vertx.ext.web.validation.builder.Parsers.commaSeparatedTupleParser());
return ret;
}
public static Parsers newInstance(io.vertx.ext.web.validation.builder.Parsers arg) {
return arg != null ? new Parsers(arg) : null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy