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

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

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;

/**
 * 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.ObjectParserFactory original} non Mutiny-ified interface using Vert.x codegen. */ @io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.validation.builder.ObjectParserFactory.class) public class ObjectParserFactory { public static final io.smallrye.mutiny.vertx.TypeArg __TYPE_ARG = new io.smallrye.mutiny.vertx.TypeArg<>( obj -> new ObjectParserFactory((io.vertx.ext.web.validation.builder.ObjectParserFactory) obj), ObjectParserFactory::getDelegate ); private final io.vertx.ext.web.validation.builder.ObjectParserFactory delegate; public ObjectParserFactory(io.vertx.ext.web.validation.builder.ObjectParserFactory delegate) { this.delegate = delegate; } public ObjectParserFactory(Object delegate) { this.delegate = (io.vertx.ext.web.validation.builder.ObjectParserFactory)delegate; } /** * Empty constructor used by CDI, do not use this constructor directly. **/ ObjectParserFactory() { this.delegate = null; } public io.vertx.ext.web.validation.builder.ObjectParserFactory 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; ObjectParserFactory that = (ObjectParserFactory) o; return delegate.equals(that.delegate); } @Override public int hashCode() { return delegate.hashCode(); } public static ObjectParserFactory newInstance(io.vertx.ext.web.validation.builder.ObjectParserFactory arg) { return arg != null ? new ObjectParserFactory(arg) : null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy