跳过导航链接
A B C D E G H I L R S 

A

AccessLog - cn.zzq0324.radish.web.log中的类
访问日志记录
AccessLog() - 类 的构造器cn.zzq0324.radish.web.log.AccessLog
 
accessLog - 类 中的变量cn.zzq0324.radish.web.log.AccessLogger
 
AccessLogFilter - cn.zzq0324.radish.web.log中的类
访问日志拦截器,可以通过配置控制是否启用,默认启用
AccessLogFilter() - 类 的构造器cn.zzq0324.radish.web.log.AccessLogFilter
 
AccessLogger - cn.zzq0324.radish.web.log中的类
访问日志记录类
AccessLogger(HttpServletRequest) - 类 的构造器cn.zzq0324.radish.web.log.AccessLogger
 
addInterceptors(InterceptorRegistry) - 类 中的方法cn.zzq0324.radish.web.configuration.RadishWebAutoConfiguration
 
AND_SYMBOL - 类 中的静态变量cn.zzq0324.radish.web.log.AccessLogger
 
annotateSkipInterceptor(Object) - 类 中的静态方法cn.zzq0324.radish.web.uitl.InterceptorUtils
是否标注了跳过拦截器

B

beforeBodyWrite(Response, MethodParameter, MediaType, Class<? extends HttpMessageConverter<?>>, ServerHttpRequest, ServerHttpResponse) - 类 中的方法cn.zzq0324.radish.web.i18n.InternationalResponseAdvice
 

C

cn.zzq0324.radish.web.annotation - 程序包 cn.zzq0324.radish.web.annotation
 
cn.zzq0324.radish.web.configuration - 程序包 cn.zzq0324.radish.web.configuration
 
cn.zzq0324.radish.web.constant - 程序包 cn.zzq0324.radish.web.constant
 
cn.zzq0324.radish.web.handler - 程序包 cn.zzq0324.radish.web.handler
 
cn.zzq0324.radish.web.i18n - 程序包 cn.zzq0324.radish.web.i18n
 
cn.zzq0324.radish.web.log - 程序包 cn.zzq0324.radish.web.log
 
cn.zzq0324.radish.web.uitl - 程序包 cn.zzq0324.radish.web.uitl
 
COMMON_EXCLUDE_PATHS - 类 中的静态变量cn.zzq0324.radish.web.configuration.RadishWebAutoConfiguration
 

D

doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - 类 中的方法cn.zzq0324.radish.web.log.AccessLogFilter
 

E

ENABLE_ACCESS_LOG - 类 中的静态变量cn.zzq0324.radish.web.constant.RadishWebConstants
是否启用AccessLog,启用后将生成access log
ENABLE_EXCEPTION_HANDLER - 类 中的静态变量cn.zzq0324.radish.web.constant.RadishWebConstants
是否启用Web通用拦截处理器
EQUAL_SYMBOL - 类 中的静态变量cn.zzq0324.radish.web.log.AccessLogger
 

G

getAnnotationFromBeanType(Object, Class<T>) - 类 中的静态方法cn.zzq0324.radish.web.uitl.InterceptorUtils
 
getAnnotationFromMethod(Object, Class<T>) - 类 中的静态方法cn.zzq0324.radish.web.uitl.InterceptorUtils
获取拦截器目标方法上的注解
getClientIP() - 类 中的静态方法cn.zzq0324.radish.web.uitl.HttpRequestUtils
 
getHandlerMethod(Object) - 类 中的静态方法cn.zzq0324.radish.web.uitl.InterceptorUtils
获取拦截器目标方法上的注解
getLogger() - 类 中的静态方法cn.zzq0324.radish.web.log.AccessLogger
获取AccessLogger实例

H

handleArgumentTypeMismatch(MethodArgumentTypeMismatchException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
参数类型不匹配,为便于前端查看错误信息,采用BaseResponse返回
handleBusinessException(BusinessException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
业务异常包装为BaseResponse返回
handleIllegalArgumentException(IllegalArgumentException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
参数非法
handleMediaTypeNotSupported(HttpMediaTypeNotSupportedException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
Media类型不匹配,为便于前端查看错误信息,采用BaseResponse返回
handleMethodArgumentNotValidException(MethodArgumentNotValidException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
方法参数校验不通过
handleMissingServletRequestParameterException(MissingServletRequestParameterException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
请求参数缺失
handleNoHandlerFoundException(HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
找不到对应的handler,HTTP状态码返回404
handlePermissionDeniedException(PermissionDeniedException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
 
handleRequestMethodNotSupported(HttpRequestMethodNotSupportedException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
请求方法不支持,例如仅支持post方法,调用了get方法。
handleUnauthorizedException(UnauthorizedException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
未授权
handleUnknownException(Throwable, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
未知异常处理
handleValidationException(ValidationException, HttpServletRequest) - 类 中的方法cn.zzq0324.radish.web.handler.RestExceptionHandler
参数校验不通过
HttpRequestUtils - cn.zzq0324.radish.web.uitl中的类
HTTP请求工具类
HttpRequestUtils() - 类 的构造器cn.zzq0324.radish.web.uitl.HttpRequestUtils
 

I

Interceptor - cn.zzq0324.radish.web.annotation中的注释类型
拦截器注解,注解在实现HandlerInterceptor的类上
InterceptorUtils - cn.zzq0324.radish.web.uitl中的类
拦截器工具
InterceptorUtils() - 类 的构造器cn.zzq0324.radish.web.uitl.InterceptorUtils
 
InternationalResponseAdvice - cn.zzq0324.radish.web.i18n中的类
国际化advice,需要在异常拦截之后,确保异常的也能国际化处理
InternationalResponseAdvice() - 类 的构造器cn.zzq0324.radish.web.i18n.InternationalResponseAdvice
 

L

log(HttpServletRequest, HttpServletResponse) - 类 中的方法cn.zzq0324.radish.web.log.AccessLogger
记录日志,此处注意catch异常,出问题不能影响核心流程
logContext(String, String) - 类 中的方法cn.zzq0324.radish.web.log.AccessLogger
记录上下文字段信息

R

RadishWebAutoConfiguration - cn.zzq0324.radish.web.configuration中的类
框架级别配置
RadishWebAutoConfiguration() - 类 的构造器cn.zzq0324.radish.web.configuration.RadishWebAutoConfiguration
 
RadishWebConstants - cn.zzq0324.radish.web.constant中的类
Web常量定义
RadishWebConstants() - 类 的构造器cn.zzq0324.radish.web.constant.RadishWebConstants
 
RestExceptionHandler - cn.zzq0324.radish.web.handler中的类
通用异常拦截处理
RestExceptionHandler() - 类 的构造器cn.zzq0324.radish.web.handler.RestExceptionHandler
 

S

SkipInterceptor - cn.zzq0324.radish.web.annotation中的注释类型
跳过拦截器
SkipLogRequestData - cn.zzq0324.radish.web.annotation中的注释类型
跳过记录请求数据,在一些大报文的场景下可以开启,减少记录的日志量
supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - 类 中的方法cn.zzq0324.radish.web.i18n.InternationalResponseAdvice
 
A B C D E G H I L R S 
跳过导航链接

Copyright © 2023. All rights reserved.