Hello all,

I'm a RESTEasy 2.3.5 version user and I experiencing some issues while
trying to enable CORS.
I'm using this CORS filter implementation
<http://software.dzhuvinov.com/cors-filter.html> (which is basically a
servlet filter) and it works well for successful responses, but when I have
to handle errors through ExceptionMapper, which returns a new response (for
ex. Response.status(Response.Status.FORBIDDEN).build()) it removes the CORS
headers previously set by the filter mentioned.

I saw there a new CorsFilter
in 3.0.7 version, based on interceptors.

So, my question is: how would I implement CORS in a application which uses
previous version of RESTEasy?

Thanks in advance,

HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
Resteasy-users mailing list

Reply via email to