@Configuration public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| Constructor and Description |
|---|
WebConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
org.springframework.boot.web.servlet.FilterRegistrationBean |
corsFilterRegistrationBean() |
void |
extendMessageConverters(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, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, getMessageCodesResolver, getValidatorpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void extendMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
extendMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean corsFilterRegistrationBean()
Copyright © 2020. All rights reserved.