org.springframework.web.servlet.config

Class CorsBeanDefinitionParser

  • java.lang.Object
    • org.springframework.web.servlet.config.CorsBeanDefinitionParser
  • All Implemented Interfaces:
    BeanDefinitionParser


    public class CorsBeanDefinitionParser
    extends java.lang.Object
    implements 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.
    Since:
    4.2
    Author:
    Sebastien Deleuze