@Configuration public class SystemWebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 限定符和类型 | 字段和说明 |
|---|---|
private cn.sinozg.applet.common.properties.AppValue |
app |
private cn.sinozg.applet.common.service.FrameworkAuthService |
authService |
private cn.sinozg.applet.common.service.FrameworkInitDataService |
initDataService |
private org.slf4j.Logger |
log |
private ParamsInterceptor |
paramsInterceptor |
| 构造器和说明 |
|---|
SystemWebConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addInterceptors(@NotNull org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
org.springframework.boot.web.servlet.FilterRegistrationBean<WrapperFilter> |
registrationBean()
http请求 包装
|
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 cn.sinozg.applet.common.properties.AppValue app
private ParamsInterceptor paramsInterceptor
private cn.sinozg.applet.common.service.FrameworkInitDataService initDataService
private cn.sinozg.applet.common.service.FrameworkAuthService authService
private final org.slf4j.Logger log
public void addInterceptors(@NotNull
@NotNull org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean<WrapperFilter> registrationBean()
Copyright © 2024. All rights reserved.