java.lang.Object
org.miaixz.bus.starter.wrapper.WrapperConfiguration
- All Implemented Interfaces:
org.springframework.boot.webmvc.autoconfigure.WebMvcRegistrations
@EnableConfigurationProperties(WrapperProperties.class)
public class WrapperConfiguration
extends Object
implements org.springframework.boot.webmvc.autoconfigure.WebMvcRegistrations
Xss/重复读取等WEB封装配置
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappingorg.springframework.boot.web.servlet.FilterRegistrationBeanorg.springframework.web.servlet.config.annotation.WebMvcConfigurerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.webmvc.autoconfigure.WebMvcRegistrations
getExceptionHandlerExceptionResolver, getRequestMappingHandlerAdapter
-
Constructor Details
-
WrapperConfiguration
public WrapperConfiguration()
-
-
Method Details
-
getRequestMappingHandlerMapping
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()- Specified by:
getRequestMappingHandlerMappingin interfaceorg.springframework.boot.webmvc.autoconfigure.WebMvcRegistrations
-
registrationBodyCacheFilter
@Bean("registrationBodyCacheFilter") public org.springframework.boot.web.servlet.FilterRegistrationBean registrationBodyCacheFilter() -
requestHandler
-
supportWebMvcConfigurer
@Bean("supportWebMvcConfigurer") public org.springframework.web.servlet.config.annotation.WebMvcConfigurer supportWebMvcConfigurer()
-