@Configuration
public class WebMvcConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
| 限定符和类型 | 类和说明 |
|---|---|
protected class |
WebMvcConfiguration.SecurityInterceptor |
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.util.Collection<org.springframework.web.method.support.HandlerMethodArgumentResolver> |
methodArgumentResolverList |
| 构造器和说明 |
|---|
WebMvcConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
protected void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
FastJson配置
|
org.springframework.http.converter.HttpMessageConverter |
fastJsonHttpMessageConverters() |
WebMvcConfiguration.SecurityInterceptor |
getSecurityInterceptor() |
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, getApplicationContext, getArgumentResolvers, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingprotected static java.util.Collection<org.springframework.web.method.support.HandlerMethodArgumentResolver> methodArgumentResolverList
protected void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportprotected void addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void configureMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public org.springframework.http.converter.HttpMessageConverter fastJsonHttpMessageConverters()
@Bean public WebMvcConfiguration.SecurityInterceptor getSecurityInterceptor()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportCopyright © 2019. All Rights Reserved.