- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware
@Component(value="corsFilter")
public class CorsFilter
extends org.springframework.web.filter.OncePerRequestFilter
Implements Cross-Origin Resource Sharing (CORS) headers. This filter adds the CORS
headers to all requests that pass through it, and as such it should be used only
on endpoints that require CORS support.
- Author:
- jricher