类 Y9WebConfiguration
- java.lang.Object
-
- y9.autoconfiguration.web.Y9WebConfiguration
-
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class Y9WebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
web 配置- 作者:
- shidaobang
- Date:
- 2022/09/27
-
-
构造器概要
构造器 构造器 说明 Y9WebConfiguration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddFormatters(org.springframework.format.FormatterRegistry registry)Y9ControllerAdvicey9ControllerAdvice()-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
方法详细资料
-
y9ControllerAdvice
@Bean @ConditionalOnMissingBean public Y9ControllerAdvice y9ControllerAdvice()
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- 指定者:
addFormatters在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-