public class CorsBeanDefinitionParser
extends java.lang.Object
implements org.springframework.beans.factory.xml.BeanDefinitionParser
BeanDefinitionParser
that parses a
cors
element in order to set the CORS configuration in the various
{AbstractHandlerMapping} beans created by AnnotationDrivenBeanDefinitionParser
,
ResourcesBeanDefinitionParser
and ViewControllerBeanDefinitionParser
.Constructor and Description |
---|
CorsBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.config.BeanDefinition |
parse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |