@ConditionalOnWebApplication
@ConditionalOnProperty(prefix="carnival.mvc.xss-protecting",
name="enabled",
havingValue="true")
@EnableConfigurationProperties(value=com.github.yingzhuo.carnival.mvc.autoconfig.MvcXssProtectingAutoConfig.Props.class)
public class MvcXssProtectingAutoConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MvcXssProtectingAutoConfig.XssProtectingFilter |
| 构造器和说明 |
|---|
MvcXssProtectingAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.web.servlet.FilterRegistrationBean<MvcXssProtectingAutoConfig.XssProtectingFilter> |
xssProtectingFilter() |
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, getValidator@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<MvcXssProtectingAutoConfig.XssProtectingFilter> xssProtectingFilter()
Copyright © 2020. All rights reserved.