索引
All Classes and Interfaces|常量字段值|所有程序包
B
- BaseConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
约束提取基础类
- BaseConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
C
- constraintExtract(Validator) - 类中的方法 top.tangyh.basic.validator.config.ValidatorConfiguration
- ConstraintInfo - top.tangyh.basic.validator.model中的类
-
检验约束信息
- ConstraintInfo() - 类的构造器 top.tangyh.basic.validator.model.ConstraintInfo
- converter(Annotation) - 接口中的方法 top.tangyh.basic.validator.mateconstraint.IConstraintConverter
-
转换
- converter(Annotation) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
-
转换
D
- DefaultConstraintExtractImpl - top.tangyh.basic.validator.component.extract中的类
-
缺省的约束提取器
- DefaultConstraintExtractImpl(Validator) - 类的构造器 top.tangyh.basic.validator.component.extract.DefaultConstraintExtractImpl
- DigitsConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
长度 转换器
- DigitsConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.DigitsConstraintConverter
E
- EnableFormValidator - top.tangyh.basic.validator.annotation中的Annotation Interface
-
在启动类上添加该注解来启动表单验证功能
- extract(List<ValidConstraint>) - 类中的方法 top.tangyh.basic.validator.component.extract.DefaultConstraintExtractImpl
- extract(List<ValidConstraint>) - 接口中的方法 top.tangyh.basic.validator.component.extract.IConstraintExtract
-
提取指定表单验证规则
F
- FieldValidatorDesc - top.tangyh.basic.validator.model中的类
-
字段校验规则信息
- FieldValidatorDesc() - 类的构造器 top.tangyh.basic.validator.model.FieldValidatorDesc
- FormValidatorController - top.tangyh.basic.validator.component中的类
-
统一获取校验规则入口。
- FormValidatorController(IConstraintExtract, RequestMappingHandlerMapping) - 类的构造器 top.tangyh.basic.validator.component.FormValidatorController
G
- getGroups() - 类中的方法 top.tangyh.basic.validator.model.ValidConstraint
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
-
子类返回需要反射的验证注解的 字段值
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.DigitsConstraintConverter
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.MaxMinConstraintConverter
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.NotNullConstraintConverter
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.OtherConstraintConverter
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RangeConstraintConverter
- getMethods() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RegExConstraintConverter
- getRequestURI() - 类中的方法 top.tangyh.basic.validator.wrapper.HttpServletRequestValidatorWrapper
- getServletPath() - 类中的方法 top.tangyh.basic.validator.wrapper.HttpServletRequestValidatorWrapper
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
-
子类返回各自具体支持的验证注解 类型
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.DigitsConstraintConverter
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.MaxMinConstraintConverter
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.NotNullConstraintConverter
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.OtherConstraintConverter
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RangeConstraintConverter
- getSupport() - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RegExConstraintConverter
- getTarget() - 类中的方法 top.tangyh.basic.validator.model.ValidConstraint
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
-
子类返回自定义的类型
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.DigitsConstraintConverter
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.MaxMinConstraintConverter
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.NotNullConstraintConverter
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.OtherConstraintConverter
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RangeConstraintConverter
- getType(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.RegExConstraintConverter
H
- HttpServletRequestValidatorWrapper - top.tangyh.basic.validator.wrapper中的类
-
验证请求包装器
- HttpServletRequestValidatorWrapper(HttpServletRequest, String) - 类的构造器 top.tangyh.basic.validator.wrapper.HttpServletRequestValidatorWrapper
I
- IConstraintConverter - top.tangyh.basic.validator.mateconstraint中的接口
-
约束转换器
- IConstraintExtract - top.tangyh.basic.validator.component.extract中的接口
-
提取指定表单验证规则
- init() - 类中的方法 top.tangyh.basic.validator.component.extract.DefaultConstraintExtractImpl
- initialize(NotEmpty) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotEmptyConstraintValidator
- initialize(NotNull) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotNullConstraintValidator
- initialize(Length) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.LengthConstraintValidator
- initialize(NotEmptyPattern) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotEmptyPatternConstraintValidator
- isValid(CharSequence, ConstraintValidatorContext) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotEmptyPatternConstraintValidator
- isValid(IValidatable, ConstraintValidatorContext) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.LengthConstraintValidator
- isValid(IValidatable, ConstraintValidatorContext) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotEmptyConstraintValidator
- isValid(IValidatable, ConstraintValidatorContext) - 类中的方法 top.tangyh.basic.validator.constraintvalidators.NotNullConstraintValidator
L
- LengthConstraintValidator - top.tangyh.basic.validator.constraintvalidators中的类
-
自定义一个验证length的校验器。
- LengthConstraintValidator() - 类的构造器 top.tangyh.basic.validator.constraintvalidators.LengthConstraintValidator
M
- MaxMinConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
长度 转换器
- MaxMinConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.MaxMinConstraintConverter
- MESSAGE - 类中的静态变量 top.tangyh.basic.validator.utils.ValidatorConstants
- methodValidationPostProcessor(Validator) - 类中的方法 top.tangyh.basic.validator.config.ValidatorConfiguration
-
Method: 开启快速返回 Description: 如果参数校验有异常,直接抛异常,不会进入到 controller,使用全局异常拦截进行拦截
N
- NOT_NULL - 类中的静态变量 top.tangyh.basic.validator.utils.ValidatorConstants
- NotEmptyConstraintValidator - top.tangyh.basic.validator.constraintvalidators中的类
-
自定义一个验证 NotEmpty 的校验器。
- NotEmptyConstraintValidator() - 类的构造器 top.tangyh.basic.validator.constraintvalidators.NotEmptyConstraintValidator
- NotEmptyPatternConstraintValidator - top.tangyh.basic.validator.constraintvalidators中的类
-
NotEmptyPattern注解的 约束验证器
- NotEmptyPatternConstraintValidator() - 类的构造器 top.tangyh.basic.validator.constraintvalidators.NotEmptyPatternConstraintValidator
- NotNullConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
非空 转换器
- NotNullConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.NotNullConstraintConverter
- NotNullConstraintValidator - top.tangyh.basic.validator.constraintvalidators中的类
-
自定义一个验证 NotNull 的校验器。
- NotNullConstraintValidator() - 类的构造器 top.tangyh.basic.validator.constraintvalidators.NotNullConstraintValidator
O
- OtherConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
其他 转换器
- OtherConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.OtherConstraintConverter
P
- PATTERN - 类中的静态变量 top.tangyh.basic.validator.utils.ValidatorConstants
R
- RangeConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
长度 转换器
- RangeConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.RangeConstraintConverter
- RegExConstraintConverter - top.tangyh.basic.validator.mateconstraint.impl中的类
-
正则校验规则
- RegExConstraintConverter() - 类的构造器 top.tangyh.basic.validator.mateconstraint.impl.RegExConstraintConverter
S
- standardByPathVar(HttpServletRequest) - 类中的方法 top.tangyh.basic.validator.component.FormValidatorController
-
支持第一种拉取方式 注意: 具体的方法必须在参数上面标注 @Validated 才有效
- standardByQueryParam(String, HttpServletRequest) - 类中的方法 top.tangyh.basic.validator.component.FormValidatorController
-
支持第二种拉取方式
- support(Class<? extends Annotation>) - 接口中的方法 top.tangyh.basic.validator.mateconstraint.IConstraintConverter
-
支持的类型
- support(Class<? extends Annotation>) - 类中的方法 top.tangyh.basic.validator.mateconstraint.impl.BaseConstraintConverter
-
支持的类型
T
- top.tangyh.basic.validator.annotation - 程序包 top.tangyh.basic.validator.annotation
- top.tangyh.basic.validator.component - 程序包 top.tangyh.basic.validator.component
- top.tangyh.basic.validator.component.extract - 程序包 top.tangyh.basic.validator.component.extract
- top.tangyh.basic.validator.config - 程序包 top.tangyh.basic.validator.config
- top.tangyh.basic.validator.constraintvalidators - 程序包 top.tangyh.basic.validator.constraintvalidators
- top.tangyh.basic.validator.mateconstraint - 程序包 top.tangyh.basic.validator.mateconstraint
- top.tangyh.basic.validator.mateconstraint.impl - 程序包 top.tangyh.basic.validator.mateconstraint.impl
- top.tangyh.basic.validator.model - 程序包 top.tangyh.basic.validator.model
- top.tangyh.basic.validator.utils - 程序包 top.tangyh.basic.validator.utils
- top.tangyh.basic.validator.wrapper - 程序包 top.tangyh.basic.validator.wrapper
V
- validateAll(List<T>, int) - 类中的静态方法 top.tangyh.basic.validator.utils.ValidatorUtils
- validateAll(T) - 类中的静态方法 top.tangyh.basic.validator.utils.ValidatorUtils
-
校验所有字段并返回不合法字段
- validateFast(T) - 类中的静态方法 top.tangyh.basic.validator.utils.ValidatorUtils
-
校验遇到第一个不合法的字段直接返回不合法字段,后续字段不再校验
- validator() - 类中的方法 top.tangyh.basic.validator.config.ValidatorConfiguration
- ValidatorConfiguration - top.tangyh.basic.validator.config中的类
-
验证器配置
- ValidatorConfiguration() - 类的构造器 top.tangyh.basic.validator.config.ValidatorConfiguration
- ValidatorConstants - top.tangyh.basic.validator.utils中的类
- ValidatorConstants() - 类的构造器 top.tangyh.basic.validator.utils.ValidatorConstants
- ValidatorUtils - top.tangyh.basic.validator.utils中的类
-
HibernateValidate 校验工具类
- ValidatorUtils() - 类的构造器 top.tangyh.basic.validator.utils.ValidatorUtils
- ValidConstraint - top.tangyh.basic.validator.model中的类
-
验证约束
- ValidConstraint(Class<?>) - 类的构造器 top.tangyh.basic.validator.model.ValidConstraint
- ValidConstraint(Class<?>, Class<?>[]) - 类的构造器 top.tangyh.basic.validator.model.ValidConstraint
W
- warp(HibernateValidatorConfiguration) - 类中的静态方法 top.tangyh.basic.validator.utils.ValidatorUtils
All Classes and Interfaces|常量字段值|所有程序包