@Configuration
public class WebMvcConfig
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
Constructor and Description |
---|
WebMvcConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.web.servlet.i18n.LocaleChangeInterceptor |
interceptor() |
org.springframework.web.servlet.LocaleResolver |
resolver() |
org.springframework.http.converter.HttpMessageConverter<String> |
responseBodyConverter() |
addArgumentResolvers, addCorsMappings, 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, viewControllerHandlerMapping
@Bean public org.springframework.http.converter.HttpMessageConverter<String> responseBodyConverter()
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean public org.springframework.web.servlet.i18n.LocaleChangeInterceptor interceptor()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors
in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
@Bean public org.springframework.web.servlet.LocaleResolver resolver()
Copyright © 2019. All rights reserved.