List of usage examples for org.springframework.web.cors DefaultCorsProcessor DefaultCorsProcessor
DefaultCorsProcessor
From source file:ca.uhn.fhir.rest.server.interceptor.CorsInterceptor.java
/** * Constructor which accepts the given configuration * //from w w w . j a v a 2 s. c o m * @param theConfiguration * The CORS configuration */ public CorsInterceptor(CorsConfiguration theConfiguration) { Validate.notNull(theConfiguration, "theConfiguration must not be null"); myCorsProcessor = new DefaultCorsProcessor(); setConfig(theConfiguration); }