索引
All Classes and Interfaces|常量字段值|所有程序包
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
- 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
- beforeBodyWrite(Object, MethodParameter, MediaType, Class, ServerHttpRequest, ServerHttpResponse) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalResponseBodyAdvice
- bindException(BindException) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
- bizException(ArgumentException) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
- bizException(BizException) - 类中的方法 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
- 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
-
gateway 网关模块需要禁用 spring-webmvc 相关配置,必须通过在类上面加限制条件方式来实现, 不能直接Bean上面加
H
- handleHttpRequestMethodNotSupportedException(HttpRequestMethodNotSupportedException) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
-
返回状态码:405
- handlerNotLoginException(NotLoginException) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
- handlerSaTokenException(SaTokenException) - 类中的方法 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
- 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
- profiles - 类中的变量 top.tangyh.basic.boot.handler.AbstractGlobalExceptionHandler
R
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.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
- UndertowServerFactoryCustomizer() - 类的构造器 top.tangyh.basic.boot.undertow.UndertowServerFactoryCustomizer
W
A B C D F G H I J L M N O P R S T U WAll Classes and Interfaces|常量字段值|所有程序包