Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: None
-
Fix Version/s: 4.2 M1
-
Component/s: HTTP Support
-
Labels:
-
Pull Request URL:
Description
The Spring MVC 4.2 has introduced @CrossOrigin mapping for the @Controller methods.
Similar to the org.springframework.integration.http.inbound.RequestMapping the org.springframework.integration.http.inbound.CrossOrigin can be introduced as a domain object to be injected to the HttpRequestHandlingEndpointSupport and processed by the IntegrationRequestMappingHandlerMapping overriding the new initCorsConfiguration() method.
From the XML perspective it can be represented as a nested <cross-origin> tag alongside with <request-mapping>