public class Validator extends Object
| Constructor and Description |
|---|
Validator() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Rule>> |
buildRulers(Depot depot)
Advanced ruler building for Body content validation based on yml configuration.
|
static Validator |
create() |
<T> void |
verifyMethod(T proxy,
Method method,
Object[] args)
Validate the method parameters based on javax.validation: Hibernate Validator.
|
public static Validator create()
public <T> void verifyMethod(T proxy,
Method method,
Object[] args)
Validate the method parameters based on javax.validation: Hibernate Validator.
T - The target object type: Generic types.proxy - The checked target object.method - The checked target method.args - The checked target method’s parameters.Copyright © 2021. All rights reserved.