类 GlobalWebMvcConfig
java.lang.Object
io.github.mangocrisp.spring.taybct.tool.core.config.GlobalWebMvcConfig
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@AutoConfiguration
@ConditionalOnClass(org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class)
public class GlobalWebMvcConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
全局 web mvc 配置
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
configureMessageConverters
(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) 注册自定义类型转换器从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
构造器详细资料
-
GlobalWebMvcConfig
public GlobalWebMvcConfig()
-
-
方法详细资料
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) 注册自定义类型转换器- 指定者:
configureMessageConverters
在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-