Index

A B C D F G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractGlobalExceptionHandler - Class in top.tangyh.basic.boot.handler
全局异常统一处理
AbstractGlobalExceptionHandler() - Constructor for class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
AbstractGlobalResponseBodyAdvice - Class in top.tangyh.basic.boot.handler
全局响应体包装
AbstractGlobalResponseBodyAdvice() - Constructor for class top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 
AsyncProperties - Class in top.tangyh.basic.boot.config.properties
异步线程配置
AsyncProperties() - Constructor for class top.tangyh.basic.boot.config.properties.AsyncProperties
 

B

BaseConfig - Class in top.tangyh.basic.boot.config
基础配置类
BaseConfig() - Constructor for class top.tangyh.basic.boot.config.BaseConfig
 
beforeBodyWrite(Object, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 
bindException(BindException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
bizException(ArgumentException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
bizException(BizException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

C

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

D

dataIntegrityViolationException(DataIntegrityViolationException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
dateConvert() - Method in class top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "date") Date date date 类型参数 格式问题
DefaultAsyncTaskConfig - Class in top.tangyh.basic.boot.config
异步任务配置
DefaultAsyncTaskConfig() - Constructor for class top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 

F

forbiddenException(ForbiddenException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

G

getAsyncExecutor() - Method in class top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 
getAsyncUncaughtExceptionHandler() - Method in class top.tangyh.basic.boot.config.DefaultAsyncTaskConfig
 
getHeader(HttpServletRequest, String) - Static method in class top.tangyh.basic.boot.utils.WebUtils
 
getRemoteAddress(ServerWebExchange) - Static method in class top.tangyh.basic.boot.utils.WebUtils
获取IP地址
getSpringUtils(ApplicationContext) - Method in class top.tangyh.basic.boot.config.BaseConfig
Spring 工具类
getUndertowServerFactoryCustomizer() - Method in class top.tangyh.basic.boot.config.BaseConfig
gateway 网关模块需要禁用 spring-webmvc 相关配置,必须通过在类上面加限制条件方式来实现, 不能直接Bean上面加

H

handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
返回状态码:405
handlerNotLoginException(NotLoginException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
handlerSaTokenException(SaTokenException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
httpMediaTypeNotSupportedException(HttpMediaTypeNotSupportedException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
httpMessageNotReadableException(HttpMessageNotReadableException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

I

illegalArgumentException(IllegalArgumentException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
illegalStateException(IllegalStateException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

J

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

L

localDateConverter() - Method in class top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalDate time
localDateTimeConverter() - Method in class top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalDateTime time
localTimeConverter() - Method in class top.tangyh.basic.boot.config.BaseConfig
解决 @RequestParam(value = "time") LocalTime time

M

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

N

nullPointerException(NullPointerException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

O

otherExceptionHandler(Exception) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
其他异常

P

persistenceException(PersistenceException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
PREFIX - Static variable in class top.tangyh.basic.boot.config.properties.AsyncProperties
 
profiles - Variable in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 

R

request() - Static method in class top.tangyh.basic.boot.utils.WebUtils
 

S

servletException(ServletException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
sqlException(SQLException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
supports(MethodParameter, Class) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
 

T

top.tangyh.basic.boot.config - package top.tangyh.basic.boot.config
 
top.tangyh.basic.boot.config.properties - package top.tangyh.basic.boot.config.properties
 
top.tangyh.basic.boot.handler - package top.tangyh.basic.boot.handler
 
top.tangyh.basic.boot.undertow - package top.tangyh.basic.boot.undertow
 
top.tangyh.basic.boot.utils - package top.tangyh.basic.boot.utils
 

U

unauthorizedException(UnauthorizedException) - Method in class top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
 
UndertowServerFactoryCustomizer - Class in top.tangyh.basic.boot.undertow
设置Undertow服务器 XnioWorker Buffers
UndertowServerFactoryCustomizer() - Constructor for class top.tangyh.basic.boot.undertow.UndertowServerFactoryCustomizer
 

W

WebUtils - Class in top.tangyh.basic.boot.utils
 
A B C D F G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values