@EnableWebMvc @Configuration @PropertySource(value="classpath:odata.properties") public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Constructor and Description |
---|
WebConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
org.springframework.web.filter.CommonsRequestLoggingFilter |
requestLoggingFilter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addArgumentResolvers, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
@Bean public org.springframework.web.filter.CommonsRequestLoggingFilter requestLoggingFilter()
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Copyright © 2019. All rights reserved.