Class CorsInterceptor

java.lang.Object
org.atmosphere.cpr.AtmosphereInterceptorAdapter
org.atmosphere.interceptor.CorsInterceptor
All Implemented Interfaces:
AtmosphereInterceptor, AtmosphereConfigAware, InvokationOrder

public class CorsInterceptor extends AtmosphereInterceptorAdapter
CORS support with origin allowlist.

Configure allowed origins via "org.atmosphere.cpr.cors.allowedOrigins" (comma-separated). When not configured, the interceptor echoes the request Origin header for backward compatibility but logs a warning.