@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=XssProperties.class) @ConditionalOnProperty(value="security.xss.enabled", havingValue="true", matchIfMissing=true) public class XssAutoConfiguration extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 限定符和类型 | 字段和说明 |
|---|---|
private XssProperties |
xssProperties |
| 构造器和说明 |
|---|
XssAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer |
xssJacksonCustomizer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorprivate final XssProperties xssProperties
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer xssJacksonCustomizer()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2023. All rights reserved.