Package org.teiid.spring.odata
Class WebConfig
- java.lang.Object
-
- org.teiid.spring.odata.WebConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@EnableWebMvc @Configuration @PropertySource("classpath:odata.properties") public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Constructor Summary
Constructors Constructor Description WebConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
requestLoggingFilter
@Bean public org.springframework.web.filter.CommonsRequestLoggingFilter requestLoggingFilter()
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addCorsMappings
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
- Specified by:
addCorsMappings
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-