类 CheckAnnotationUtils
java.lang.Object
cn.iosd.starter.encrypt.rsa.utils.CheckAnnotationUtils
- 作者:
- ok1996
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <A extends Annotation>
booleancheck(boolean isGlobalCryptoEnabled, org.springframework.core.MethodParameter parameter, Class<A> annotationType) 检查是否具有指定类型的注解,并根据全局加密开关决定是否考虑全局加密
-
构造器详细资料
-
CheckAnnotationUtils
public CheckAnnotationUtils()
-
-
方法详细资料
-
check
public static <A extends Annotation> boolean check(boolean isGlobalCryptoEnabled, org.springframework.core.MethodParameter parameter, Class<A> annotationType) 检查是否具有指定类型的注解,并根据全局加密开关决定是否考虑全局加密- 类型参数:
A- 注解类型- 参数:
isGlobalCryptoEnabled- 全局加密开关,true表示开启,false表示关闭parameter- 方法参数annotationType- 额外要检查的注解类型- 返回:
- 如果具有指定类型的注解则返回true,否则返回false
-