@Configuration @ComponentScan(basePackages="net.sohelp.boot.dev.web") public class DevWebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
构造器和说明 |
---|
DevWebConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry viewControllerRegistry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry viewControllerRegistry)
addViewControllers
在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Copyright © 2025. All rights reserved.