Package io.vertx.up.secure.validation
Class Validator
- java.lang.Object
-
- io.vertx.up.secure.validation.Validator
-
public class Validator extends Object
-
-
Constructor Summary
Constructors Constructor Description Validator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<Rule>>buildRulers(Depot depot)Advanced ruler building for Body content validation based on yml configuration.static Validatorcreate()<T> voidverifyMethod(T proxy, Method method, Object[] args)Validate the method parameters based on javax.validation: Hibernate Validator.
-
-
-
Method Detail
-
create
public static Validator create()
-
verifyMethod
public <T> void verifyMethod(T proxy, Method method, Object[] args)Validate the method parameters based on javax.validation: Hibernate Validator.- Type Parameters:
T- The target object type: Generic types.- Parameters:
proxy- The checked target object.method- The checked target method.args- The checked target method's parameters.
-
-