@ConditionalOnWebApplication
@EnableConfigurationProperties(value=com.github.yingzhuo.carnival.mvc.autoconfig.MvcCorsForAllAutoConfig.Props.class)
@ConditionalOnProperty(prefix="carnival.mvc.cors-for-all",
name="enabled",
havingValue="true")
public class MvcCorsForAllAutoConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
MvcCorsForAllAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.web.servlet.FilterRegistrationBean<org.springframework.web.filter.CorsFilter> |
corsFilterRegistrationBean() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorCopyright © 2019. All rights reserved.