@Configuration public class WebMvcConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
WebMvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
static com.fasterxml.jackson.databind.ObjectMapper |
newConfiguredObjectMapper() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
public static com.fasterxml.jackson.databind.ObjectMapper newConfiguredObjectMapper()
Copyright © 2021. All rights reserved.