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

me.geso.avans.ValidatorProvider Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package me.geso.avans;

import java.lang.reflect.Method;
import java.util.Optional;

import me.geso.webscrew.response.WebResponse;

public interface ValidatorProvider {
	/**
	 * Return WebResponse if there is violations.
	 * 
	 * @param method
	 * @param params
	 * @return
	 */
	public default Optional validateParameters(Method method,
			Object[] params) {
		return Optional.empty();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy