A B C D E F G H I L M N O P Q R S U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRequestChecker - Class in net.cofcool.chaos.server.core.web
-
校验请求的抽象实现
- AbstractRequestChecker() - Constructor for class net.cofcool.chaos.server.core.web.AbstractRequestChecker
- AbstractScannedMethodInterceptor - Class in net.cofcool.chaos.server.core.aop
-
抽象类, 实现 ScannedMethodInterceptor 接口, 推荐应用继承该类, 而不是直接实现 ScannedMethodInterceptor
- AbstractScannedMethodInterceptor() - Constructor for class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
- addInterceptor(ScannedMethodInterceptor) - Method in class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
- afterPropertiesSet() - Method in class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
- afterPropertiesSet() - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- afterPropertiesSet() - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- afterPropertiesSet() - Method in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- ALLOW_ALL - Static variable in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
-
允许所有
- always - net.cofcool.chaos.server.core.annotation.DataAuthExclude.ExcludeMode
-
始终检测
- Api - Annotation Type in net.cofcool.chaos.server.core.annotation
-
接口属性定义, 包括版本号, 支持设备, 数据过滤, 描述等
如只在method上使用, 需使用@Scanned标注该方法所在的类 - ApiProcessingInterceptor - Class in net.cofcool.chaos.server.core.aop
- ApiProcessingInterceptor() - Constructor for class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- ApiVersion - Annotation Type in net.cofcool.chaos.server.core.annotation
-
设定接口版本号, 版本号一致时接口才会允许调用, 值需为int类型, 类似build_version
如果值为ALLOW_ALL, 则适用于所有版本 如果值为DENIAL_ALL, 则禁止访问 可通过ChaosConfiguration.CURRENT_BUILD_VERSION获取当前构建版本
如只在method上使用, 需使用@Scanned标注该方法所在的类 - appendAfterLog(StringBuilder, Object) - Method in class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- AUTH_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- AUTH_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
授权错误
- authExclude() - Method in annotation type net.cofcool.chaos.server.core.annotation.Api
-
数据过滤
B
- BeanResourceHolder - Class in net.cofcool.chaos.server.core.annotation.scanner
-
注解管理。
如果使用@Scanned, 可通过以下方法获取:BeanResourceHolder.getAnnotation(Class, Class)BeanResourceHolder.getAnnotation(Method, Class)BeanResourceHolder.getAnnotation(Method, Class, boolean)。
若未使用@Scanned, 可通过前缀为"find"的方法获取。 - BeanResourceHolder() - Constructor for class net.cofcool.chaos.server.core.annotation.scanner.BeanResourceHolder
- BeanScannerConfigure - Class in net.cofcool.chaos.server.core.annotation.scanner
-
扫描使用
Scanned注解的类 - BeanScannerConfigure() - Constructor for class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- BODY - net.cofcool.chaos.server.core.web.RequestChecker.Type
C
- canWrite(Class<?>, MediaType) - Method in class net.cofcool.chaos.server.core.support.ResponseBodyMessageConverter
- canWrite(Type, Class<?>, MediaType) - Method in class net.cofcool.chaos.server.core.web.FormReaderHttpMessageConverter
- CAPTCHA_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- CAPTCHA_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
验证码错误
- check(String) - Method in class net.cofcool.chaos.server.core.web.AbstractRequestChecker
-
校验
- check(HttpServletRequest, HttpServletResponse) - Method in class net.cofcool.chaos.server.core.web.HttpHeaderRequestChecker
- check(HttpServletRequest, HttpServletResponse) - Method in interface net.cofcool.chaos.server.core.web.RequestChecker
-
进行校验
- check(HttpServletRequest, HttpServletResponse) - Method in class net.cofcool.chaos.server.core.web.UrlRequestChecker
- checkApi(MethodInvocation, User) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- checkDevice(String[], User) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- checkRole(String[], User) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- checkVersion(ApiVersion) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- code(String) - Method in class net.cofcool.chaos.server.core.i18n.ResourceExceptionCodeDescriptor
- code(String) - Method in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- compareApiVersion(ApiVersion) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
-
项目当前版本是否大于apiVersion定义的版本
- copyIdsToCondition(Page, Class<?>, String, Object) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
-
把
User.getDetail()数据注入到condition对象中, 如果Page.getCondition()为null则会创建该实例 。 注意: 如果没有在方法参数中指定Page.getCondition()的类型,则不会创建 - createHelper(ScannedResourceAdvisor) - Static method in class net.cofcool.chaos.server.core.aop.ScannedResourceAdvisor
-
创建 ScannedResourceAdvisorHelper
- creatingLog(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- customize() - Method in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
添加自定义描述信息
D
- DATA_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- DATA_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
数据错误
- DATA_EXISTS_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- DATA_EXISTS_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
数据已存在
- DataAuthExclude - Annotation Type in net.cofcool.chaos.server.core.annotation
-
排除授权类型, 带有该注解的方法会忽略指定类型的参数注入。
如只在method上使用, 需使用@Scanned标注该方法所在的类, 如果该类已使用@Api注解, 则需使用Api.authExclude()配置, 直接使用DataAuthExclude.value()不会生效。 - DataAuthExclude.ExcludeMode - Enum in net.cofcool.chaos.server.core.annotation
- DEFAULT_DESCRIPTOR - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
获取默认的 ExceptionCodeDescriptor
- DENIAL_ALL - Static variable in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
-
拒绝所有
- DENIAL_AUTH_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- DENIAL_AUTH_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
禁止登录
- DENIAL_DEVICE_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- DENIAL_DEVICE_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
拒绝设备
- DENIAL_OPERATING_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- DENIAL_OPERATING_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
拒绝操作
- desc() - Method in annotation type net.cofcool.chaos.server.core.annotation.Api
-
描述信息
- description(String) - Method in class net.cofcool.chaos.server.core.i18n.ResourceExceptionCodeDescriptor
- description(String) - Method in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- device() - Method in annotation type net.cofcool.chaos.server.core.annotation.Api
-
支持设备
- doAfter(MethodInvocation, Object) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
-
invocation 调用后调用
- doAfter(MethodInvocation, Object) - Method in class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- doBefore(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
-
invocation 调用前调用
- doBefore(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- doBefore(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.ValidateInterceptor
- doResolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- doSupport(Method, Class<?>) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
-
是否支持
- doSupport(Method, Class<?>) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- doSupport(Method, Class<?>) - Method in class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- doSupport(Method, Class<?>) - Method in class net.cofcool.chaos.server.core.aop.ValidateInterceptor
E
- EMPTY_MODEL_AND_VIEW - Static variable in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
F
- findAnnotation(AnnotatedElement, Class<A>, boolean) - Static method in class net.cofcool.chaos.server.core.annotation.scanner.BeanResourceHolder
-
解析方法或类标注的注解
- FormReaderHttpMessageConverter - Class in net.cofcool.chaos.server.core.web
-
HttpMessageConverter简单实现,可解析application/x-www-form-urlencoded
注意: 只支持读取, 不支持写入 - FormReaderHttpMessageConverter() - Constructor for class net.cofcool.chaos.server.core.web.FormReaderHttpMessageConverter
G
- getAnnotation(Class, Class<T>) - Static method in class net.cofcool.chaos.server.core.annotation.scanner.BeanResourceHolder
-
解析类标注的注解
- getAnnotation(Method, Class<T>) - Static method in class net.cofcool.chaos.server.core.annotation.scanner.BeanResourceHolder
-
解析方法标注的注解
- getAnnotation(Method, Class<T>, boolean) - Static method in class net.cofcool.chaos.server.core.annotation.scanner.BeanResourceHolder
-
解析方法或类标注的注解
- getArguments() - Method in class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
- getBasePackage() - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- getConfiguration() - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- getConfiguration() - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- getConfiguration() - Method in class net.cofcool.chaos.server.core.support.ResponseBodyMessageConverter
- getDefaultExceptionResolver() - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- getDefinedCheckedKeys() - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- getFirstErrorString(BindingResult) - Static method in class net.cofcool.chaos.server.core.aop.ValidateInterceptor
-
从
BindingResult中读取验证信息, 如果没有, 则返回 null - getHttpMessageConverters() - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- getInterceptorList() - Method in class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
- getMethod() - Method in class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
- getName() - Method in class net.cofcool.chaos.server.core.web.AbstractRequestChecker
-
参数名
- getObjectMapper() - Method in class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
- getStaticPart() - Method in class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
- getThis() - Method in class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
- getType() - Method in class net.cofcool.chaos.server.core.web.HttpHeaderRequestChecker
- getType() - Method in interface net.cofcool.chaos.server.core.web.RequestChecker
-
参数携带方式
- getType() - Method in class net.cofcool.chaos.server.core.web.UrlRequestChecker
- getUser() - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
-
获取User
- getVersion() - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- GlobalHandlerExceptionResolver - Class in net.cofcool.chaos.server.core.support
-
异常处理器, 把异常信息转换为
Message, "Content-Type" 为 "JSON", 应用处于ConfigurationSupport.isDebug()时 优先级低于Spring默认异常解析器的, 其它情况优先级最高, 部分 描述信息 通过ConfigurationSupport.getMessage(String, Object)创建, 如ServiceException等 - GlobalHandlerExceptionResolver() - Constructor for class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
H
- handleSqlException(HttpServletResponse, Exception) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
-
处理 SQL 异常, 即
org.springframework.dao.DataAccessException - HEADER - net.cofcool.chaos.server.core.web.RequestChecker.Type
- HttpHeaderRequestChecker - Class in net.cofcool.chaos.server.core.web
-
校验 http header
- HttpHeaderRequestChecker() - Constructor for class net.cofcool.chaos.server.core.web.HttpHeaderRequestChecker
I
- invoke(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
L
- log - Variable in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- log - Variable in class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- log - Variable in class net.cofcool.chaos.server.core.aop.ValidateInterceptor
- LoggingInterceptor - Class in net.cofcool.chaos.server.core.aop
-
记录日志, 包括http请求与返回值等。被代理类需使用
Scanned注解。 - LoggingInterceptor() - Constructor for class net.cofcool.chaos.server.core.aop.LoggingInterceptor
- LOWEST_LEVEL_API_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- LOWEST_LEVEL_API_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
API版本低
M
- matches(Method, Class<?>) - Method in class net.cofcool.chaos.server.core.aop.ScannedResourceAdvisor
- max() - Method in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
- min() - Method in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
- mode() - Method in annotation type net.cofcool.chaos.server.core.annotation.DataAuthExclude
-
是否需要检测
- MultiArgumentResolver - Class in net.cofcool.chaos.server.core.annotation
- MultiArgumentResolver() - Constructor for class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
- MultiRequestTypes - Annotation Type in net.cofcool.chaos.server.core.annotation
-
自定义请求参数解析器。
N
- net.cofcool.chaos.server.core - package net.cofcool.chaos.server.core
-
核心实现, 包括注解定义,国际化, AOP 等
- net.cofcool.chaos.server.core.annotation - package net.cofcool.chaos.server.core.annotation
- net.cofcool.chaos.server.core.annotation.scanner - package net.cofcool.chaos.server.core.annotation.scanner
- net.cofcool.chaos.server.core.aop - package net.cofcool.chaos.server.core.aop
- net.cofcool.chaos.server.core.i18n - package net.cofcool.chaos.server.core.i18n
- net.cofcool.chaos.server.core.listener - package net.cofcool.chaos.server.core.listener
- net.cofcool.chaos.server.core.support - package net.cofcool.chaos.server.core.support
- net.cofcool.chaos.server.core.web - package net.cofcool.chaos.server.core.web
- never - net.cofcool.chaos.server.core.annotation.DataAuthExclude.ExcludeMode
-
从不检测
- NO_ACCESS_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- NO_ACCESS_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
没有权限
- NO_LIMIT - Static variable in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
-
不限制
- NO_LOGIN_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- NO_LOGIN_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
未登录, 或登录过期
O
- onApplicationEvent(RequestHandledEvent) - Method in class net.cofcool.chaos.server.core.listener.RequestHandlerListener
- OPERATION_ERR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- OPERATION_ERR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
操作失败
P
- PARAM_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- PARAM_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
参数错误
- PARAM_NULL_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- PARAM_NULL_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
存在不能为空的参数
- postAfter(MethodInvocation, Object) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
- postAfter(MethodInvocation, Object) - Method in interface net.cofcool.chaos.server.core.aop.ScannedMethodInterceptor
-
MethodInvocation 调用之后调用
- postBefore(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
- postBefore(MethodInvocation) - Method in interface net.cofcool.chaos.server.core.aop.ScannedMethodInterceptor
-
MethodInvocation 调用之前调用
- postProcessAfterInitialization(Object, String) - Method in class net.cofcool.chaos.server.core.aop.ScannedResourceAdvisor.ScannedResourceAdvisorHelper
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class net.cofcool.chaos.server.core.i18n.RequestLocaleChangeInterceptor
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class net.cofcool.chaos.server.core.web.RequestHandlerInterceptor
- printExceptionLog(HttpServletRequest, Object, Exception) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- proceed() - Method in class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
Q
- QUERY_STRING - net.cofcool.chaos.server.core.web.RequestChecker.Type
R
- read(Type, Class<?>, HttpInputMessage) - Method in class net.cofcool.chaos.server.core.web.FormReaderHttpMessageConverter
- readInternal(Class<?>, HttpInputMessage) - Method in class net.cofcool.chaos.server.core.web.FormReaderHttpMessageConverter
- RequestChecker - Interface in net.cofcool.chaos.server.core.web
-
请求合法性校验
- RequestChecker.Type - Enum in net.cofcool.chaos.server.core.web
-
参数携带方式
- RequestHandlerInterceptor - Class in net.cofcool.chaos.server.core.web
-
校验请求
- RequestHandlerInterceptor(List<RequestChecker>) - Constructor for class net.cofcool.chaos.server.core.web.RequestHandlerInterceptor
- RequestHandlerListener - Class in net.cofcool.chaos.server.core.listener
-
输出请求事件日志
- RequestHandlerListener() - Constructor for class net.cofcool.chaos.server.core.listener.RequestHandlerListener
- RequestLocaleChangeInterceptor - Class in net.cofcool.chaos.server.core.i18n
-
国际化拦截器, 扩展了
LocaleChangeInterceptor, 可根据请求头中的"Accept-Language"获取区域信息 - RequestLocaleChangeInterceptor() - Constructor for class net.cofcool.chaos.server.core.i18n.RequestLocaleChangeInterceptor
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
- resolveOthersException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- ResourceExceptionCodeDescriptor - Class in net.cofcool.chaos.server.core.i18n
-
ExceptionCodeDescriptor 的实现, 通过
MessageSource获取异常描述信息. - ResourceExceptionCodeDescriptor() - Constructor for class net.cofcool.chaos.server.core.i18n.ResourceExceptionCodeDescriptor
-
创建实例, key-value 分隔符默认为
: - ResourceExceptionCodeDescriptor(String) - Constructor for class net.cofcool.chaos.server.core.i18n.ResourceExceptionCodeDescriptor
-
创建实例
- ResponseBodyMessageConverter - Class in net.cofcool.chaos.server.core.support
-
处理响应数据(JSON),
Result等 - ResponseBodyMessageConverter() - Constructor for class net.cofcool.chaos.server.core.support.ResponseBodyMessageConverter
S
- Scanned - Annotation Type in net.cofcool.chaos.server.core.annotation
-
标记资源, 若标记, 可通过
BeanResourceHolder管理该资源 - ScannedCompositeMethodInterceptor - Class in net.cofcool.chaos.server.core.aop
-
代理配置, 可通过
ScannedCompositeMethodInterceptor.setInterceptorList(List)方法配置ScannedMethodInterceptor, 用户可自定义ScannedMethodInterceptor实例, 被拦截对象需使用Scanned注解 - ScannedCompositeMethodInterceptor() - Constructor for class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
- ScannedCompositeMethodInterceptor(List<ScannedMethodInterceptor>) - Constructor for class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
- ScannedMethodInterceptor - Interface in net.cofcool.chaos.server.core.aop
-
拦截接口, 被代理类需使用
Scanned注解, 推荐继承AbstractScannedMethodInterceptor - ScannedMethodInvocation - Class in net.cofcool.chaos.server.core.aop
-
代理
MethodInvocation, 不支持ScannedMethodInvocation.proceed()操作。 - ScannedMethodInvocation(MethodInvocation) - Constructor for class net.cofcool.chaos.server.core.aop.ScannedMethodInvocation
- ScannedResourceAdvisor - Class in net.cofcool.chaos.server.core.aop
-
代理使用
Scanned注解的类 - ScannedResourceAdvisor(ScannedCompositeMethodInterceptor) - Constructor for class net.cofcool.chaos.server.core.aop.ScannedResourceAdvisor
- ScannedResourceAdvisor.ScannedResourceAdvisorHelper - Class in net.cofcool.chaos.server.core.aop
-
实现
BeanPostProcessor接口把ScannedMethodInterceptor实例注入到ScannedResourceAdvisor中, 不使用 "Spring Bean" 注入的原因是防止ScannedMethodInterceptor实例提早创建从而影响应用其它实例的生命周期 - SERVER_ERR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- SERVER_ERR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
内部错误
- SERVER_OK_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- SERVER_OK_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
成功
- setApplicationContext(ApplicationContext) - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- setApplicationContext(ApplicationContext) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setAuthService(AuthService) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setBasePackage(String) - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- setBeanName(String) - Method in class net.cofcool.chaos.server.core.annotation.scanner.BeanScannerConfigure
- setConfiguration(ConfigurationSupport) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setConfiguration(ConfigurationSupport) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- setConfiguration(ConfigurationSupport) - Method in class net.cofcool.chaos.server.core.support.ResponseBodyMessageConverter
- setDefinedCheckedKeys(String[]) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setHttpMessageConverters(HttpMessageConverters) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
- setInterceptorList(List<ScannedMethodInterceptor>) - Method in class net.cofcool.chaos.server.core.aop.ScannedCompositeMethodInterceptor
- setMessageSource(MessageSource) - Method in class net.cofcool.chaos.server.core.i18n.ResourceExceptionCodeDescriptor
- setObjectMapper(ObjectMapper) - Method in class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
- setTheId(Object, Auth, ResolvableType, String) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setupAuth(User, MethodInvocation, DataAuthExclude) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- setVersion(int) - Method in class net.cofcool.chaos.server.core.aop.ApiProcessingInterceptor
- SimpleExceptionCodeDescriptor - Class in net.cofcool.chaos.server.core.support
-
ExceptionCodeDescriptor 的默认实现, 处理默认信息, 包括
ExceptionCodeDescriptor.SERVER_ERR等, 应用可使用ResourceExceptionCodeDescriptor, 该类可读取"Spring"配置的"message"信息 - SimpleExceptionCodeDescriptor() - Constructor for class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- supports(Method) - Method in class net.cofcool.chaos.server.core.aop.AbstractScannedMethodInterceptor
- supports(Method) - Method in interface net.cofcool.chaos.server.core.aop.ScannedMethodInterceptor
-
是否可以处理该 method
- supportsParameter(MethodParameter) - Method in class net.cofcool.chaos.server.core.annotation.MultiArgumentResolver
U
- UrlRequestChecker - Class in net.cofcool.chaos.server.core.web
-
校验 Url
- UrlRequestChecker() - Constructor for class net.cofcool.chaos.server.core.web.UrlRequestChecker
- USER_NOT_EXITS_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- USER_NOT_EXITS_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
用户不存在
- USER_PASSWORD_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- USER_PASSWORD_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
密码错误
- USERNAME_ERROR_DESC_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
- USERNAME_ERROR_VAL - Static variable in class net.cofcool.chaos.server.core.support.SimpleExceptionCodeDescriptor
-
用户名错误
- userRoles() - Method in annotation type net.cofcool.chaos.server.core.annotation.Api
-
适用用户角色
V
- validate(MethodInvocation) - Method in class net.cofcool.chaos.server.core.aop.ValidateInterceptor
-
处理 BindingResult 携带的验证信息
- ValidateInterceptor - Class in net.cofcool.chaos.server.core.aop
-
参数校验切面, 处理含有
BindingResult参数的方法, 通过拦截Controller实现, 被代理类需使用Scanned注解。 - ValidateInterceptor() - Constructor for class net.cofcool.chaos.server.core.aop.ValidateInterceptor
- value() - Method in annotation type net.cofcool.chaos.server.core.annotation.ApiVersion
- value() - Method in annotation type net.cofcool.chaos.server.core.annotation.DataAuthExclude
-
需要排除的字段, 需要和
DataAuthExclude.mode()配合使用, 只有"always"模式时才会进行排除 - valueOf(String) - Static method in enum net.cofcool.chaos.server.core.annotation.DataAuthExclude.ExcludeMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.cofcool.chaos.server.core.web.RequestChecker.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.cofcool.chaos.server.core.annotation.DataAuthExclude.ExcludeMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.cofcool.chaos.server.core.web.RequestChecker.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in annotation type net.cofcool.chaos.server.core.annotation.Api
-
支持版本号
W
- writeInternal(Object, Type, HttpOutputMessage) - Method in class net.cofcool.chaos.server.core.support.ResponseBodyMessageConverter
- writeInternal(Object, Type, HttpOutputMessage) - Method in class net.cofcool.chaos.server.core.web.FormReaderHttpMessageConverter
- writeMessage(HttpServletResponse, Message) - Method in class net.cofcool.chaos.server.core.support.GlobalHandlerExceptionResolver
All Classes All Packages