Package uk.gov.gchq.gaffer.rest.config
Class CorsConfig
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.config.CorsConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class CorsConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
TheCorsConfig
adds the default CORS headers to everything by default.
-
-
Constructor Summary
Constructors Constructor Description CorsConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-