@Configuration
@ConditionalOnProperty(prefix="spring.jwt",
name="enable-auto-refresh-token",
havingValue="true",
matchIfMissing=false)
public static class ShiroJwtConfiguration.ShiroJwtWebMvcConfigurer
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| 构造器和说明 |
|---|
ShiroJwtWebMvcConfigurer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
addArgumentResolvers, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigureraddInterceptors 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigureraddCorsMappings 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2024. All rights reserved.