org.resthub.web.validation.ValidationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resthub-web-server Show documentation
Show all versions of resthub-web-server Show documentation
RESThub support for REST webservices based on Spring MVC
package org.resthub.web.validation;
import java.util.Locale;
public interface ValidationService {
ModelConstraint getConstraintsForClassName(String canonicalClassName) throws ClassNotFoundException;
ModelConstraint getConstraintsForClassName(String canonicalClassName, Locale locale) throws ClassNotFoundException;
ModelConstraint getConstraintsForClass(Class> clazz);
ModelConstraint getConstraintsForClass(Class> clazz, Locale locale);
}