跳过导航链接
A B C D F G H I J L M N O P R S T U W 

A

AbstractGlobalExceptionHandler - top.tangyh.basic.boot.handler中的类
全局异常统一处理
AbstractGlobalExceptionHandler() - 类 的构造器top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
AbstractGlobalResponseBodyAdvice - top.tangyh.basic.boot.handler中的类
全局响应体包装
AbstractGlobalResponseBodyAdvice() - 类 的构造器top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 
addInterceptors(InterceptorRegistry) - 类 中的方法top.tangyh.basic.boot.config.GlobalMvcConfigurer
 
afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - 类 中的方法top.tangyh.basic.boot.interceptor.HeaderThreadLocalInterceptor
 
AsyncProperties - top.tangyh.basic.boot.config.properties中的类
异步线程配置
AsyncProperties() - 类 的构造器top.tangyh.basic.boot.config.properties.AsyncProperties
 

B

BaseConfig - top.tangyh.basic.boot.config中的类
基础配置类
BaseConfig() - 类 的构造器top.tangyh.basic.boot.config.BaseConfig
 
BaseConfig.WebMvcConfig - top.tangyh.basic.boot.config中的类
gateway 网关模块需要禁用 spring-webmvc 相关配置,必须通过在类上面加限制条件方式来实现, 不能直接Bean上面加
beforeBodyWrite(Object, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 
bindException(BindException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
bizException(BizException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
bizException(ArgumentException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

C

constraintViolationException(ConstraintViolationException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
jsr 规范中的验证异常
customize(UndertowServletWebServerFactory) - 类 中的方法top.tangyh.basic.boot.undertow.UndertowServerFactoryCustomizer
 

D

dataIntegrityViolationException(DataIntegrityViolationException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
dateConvert() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "date") Date date date 类型参数 格式问题
DefaultAsyncTaskConfig - top.tangyh.basic.boot.config中的类
异步任务配置
DefaultAsyncTaskConfig() - 类 的构造器top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 

F

forbiddenException(ForbiddenException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

G

getAsyncExecutor() - 类 中的方法top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 
getAsyncUncaughtExceptionHandler() - 类 中的方法top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 
getGlobalMvcConfigurer() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig.WebMvcConfig
 
getHeader(HttpServletRequest, String) - 类 中的静态方法top.tangyh.basic.boot.utils.WebUtils
 
getRemoteAddress(ServerWebExchange) - 类 中的静态方法top.tangyh.basic.boot.utils.WebUtils
获取IP地址
getSpringUtils(ApplicationContext) - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
Spring 工具类
getUndertowServerFactoryCustomizer() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig.WebMvcConfig
 
GlobalMvcConfigurer - top.tangyh.basic.boot.config中的类
公共配置类, 一些公共工具配置
GlobalMvcConfigurer() - 类 的构造器top.tangyh.basic.boot.config.GlobalMvcConfigurer
 

H

handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
返回状态码:405
HeaderThreadLocalInterceptor - top.tangyh.basic.boot.interceptor中的类
拦截器: 将请求头数据,封装到BaseContextHandler(ThreadLocal) 该拦截器要优先于系统中其他的业务拦截器
HeaderThreadLocalInterceptor() - 类 的构造器top.tangyh.basic.boot.interceptor.HeaderThreadLocalInterceptor
 
httpMediaTypeNotSupportedException(HttpMediaTypeNotSupportedException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
httpMessageNotReadableException(HttpMessageNotReadableException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

I

illegalArgumentException(IllegalArgumentException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
illegalStateException(IllegalStateException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

J

jacksonObjectMapper(Jackson2ObjectMapperBuilder) - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
全局配置 序列化和反序列化规则 addSerializer:序列化 (Controller 返回 给前端的json) 1.

L

localDateConverter() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalDate time
localDateTimeConverter() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalDateTime time
localTimeConverter() - 类 中的方法top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalTime time

M

methodArgumentNotValidException(MethodArgumentNotValidException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
spring 封装的参数验证异常, 在controller中没有写result参数时,会进入
methodArgumentTypeMismatchException(MethodArgumentTypeMismatchException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
missingServletRequestParameterException(MissingServletRequestParameterException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
missingServletRequestPartException(MissingServletRequestPartException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
multipartException(MultipartException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
myBatisSystemException(MyBatisSystemException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

N

nullPointerException(NullPointerException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

O

otherExceptionHandler(Exception) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
其他异常

P

persistenceException(PersistenceException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
PREFIX - 类 中的静态变量top.tangyh.basic.boot.config.properties.AsyncProperties
 
preHandle(HttpServletRequest, HttpServletResponse, Object) - 类 中的方法top.tangyh.basic.boot.interceptor.HeaderThreadLocalInterceptor
 

R

request() - 类 中的静态方法top.tangyh.basic.boot.utils.WebUtils
 

S

servletException(ServletException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
sqlException(SQLException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
supports(MethodParameter, Class) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 

T

top.tangyh.basic.boot.config - 程序包 top.tangyh.basic.boot.config
 
top.tangyh.basic.boot.config.properties - 程序包 top.tangyh.basic.boot.config.properties
 
top.tangyh.basic.boot.handler - 程序包 top.tangyh.basic.boot.handler
 
top.tangyh.basic.boot.interceptor - 程序包 top.tangyh.basic.boot.interceptor
 
top.tangyh.basic.boot.undertow - 程序包 top.tangyh.basic.boot.undertow
 
top.tangyh.basic.boot.utils - 程序包 top.tangyh.basic.boot.utils
 

U

unauthorizedException(UnauthorizedException) - 类 中的方法top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
UndertowServerFactoryCustomizer - top.tangyh.basic.boot.undertow中的类
设置Undertow服务器 XnioWorker Buffers 解决启动时警告:[io.undertow.websockets.jsr.handleDeployment:68] --> UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-programmatic-embedded-container-customization
UndertowServerFactoryCustomizer() - 类 的构造器top.tangyh.basic.boot.undertow.UndertowServerFactoryCustomizer
 

W

WebMvcConfig() - 类 的构造器top.tangyh.basic.boot.config.BaseConfig.WebMvcConfig
 
WebUtils - top.tangyh.basic.boot.utils中的类
 
A B C D F G H I J L M N O P R S T U W 
跳过导航链接

Copyright © 2022. All rights reserved.