Package y9.autoconfiguration.web
Class Y9WebConfiguration
- java.lang.Object
-
- y9.autoconfiguration.web.Y9WebConfiguration
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class Y9WebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
web 配置- Author:
- shidaobang
- Date:
- 2022/09/27
-
-
Constructor Summary
Constructors Constructor Description Y9WebConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFormatters(org.springframework.format.FormatterRegistry registry)Y9ControllerAdvicey9ControllerAdvice()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
y9ControllerAdvice
@Bean @ConditionalOnMissingBean public Y9ControllerAdvice y9ControllerAdvice()
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- Specified by:
addFormattersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-