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

ph.com.nightowlstudios.resource.Validator Maven / Gradle / Ivy

There is a newer version: 6.21.1
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy