@Configuration @ConditionalOnWebApplication(type=SERVLET) public class CustomWebMvcConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
CustomWebMvcConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) |
void |
extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidatorpublic void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
configurePathMatch 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2025. All rights reserved.