ph.com.nightowlstudios.resource.Validator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edge Show documentation
Show all versions of edge Show documentation
A simple library for building REST API using Vertx.
package ph.com.nightowlstudios.resource;
import io.netty.handler.codec.http.HttpResponseStatus;
import io.vertx.ext.web.RoutingContext;
import java.util.function.Function;
import java.util.function.Predicate;
/**
* @author Joseph Harvey Angeles - @yev
* @since 7/6/20
*/
public interface Validator {
Predicate predicate();
Function requestMapper();
HttpResponseStatus responseStatus();
String errorMessage();
}