@Configuration
@ConfigurationProperties(prefix="security.anthlist")
public class WebConfig
extends java.lang.Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
构造器和说明 |
---|
WebConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
org.springframework.boot.web.servlet.ServletContextInitializer |
servletContextInitializer() |
org.springframework.web.filter.ShallowEtagHeaderFilter |
shallowETagHeaderFilter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean public org.springframework.web.filter.ShallowEtagHeaderFilter shallowETagHeaderFilter()
public void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling
在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Bean public org.springframework.boot.web.servlet.ServletContextInitializer servletContextInitializer()
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers
在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer