Class WebMvcExtensionConfiguration
java.lang.Object
io.microsphere.spring.webmvc.annotation.WebMvcExtensionConfiguration
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public class WebMvcExtensionConfiguration
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The configuration class for
EnableWebMvcExtension- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
WebMvcConfigurerEnableWebMvcExtension
-
Constructor Summary
ConstructorsConstructorDescriptionWebMvcExtensionConfiguration(org.springframework.beans.factory.ObjectProvider<LazyCompositeHandlerInterceptor[]> lazyCompositeHandlerInterceptorProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
WebMvcExtensionConfiguration
public WebMvcExtensionConfiguration(org.springframework.beans.factory.ObjectProvider<LazyCompositeHandlerInterceptor[]> lazyCompositeHandlerInterceptorProvider)
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-