@SpringBootApplication(exclude={org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class,org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class})
@Configuration
@EnableWebMvc
public class WebMvcConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
WebMvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2018. All rights reserved.