Not really hard to add yourself:

Read this:

http://www.html5rocks.com/en/tutorials/cors/

What we could add to resteasy is a filter that takes a list of allowed 
origins and handles preflight and simple requests.  But, it would be 
really simple to add it yourself.

On 10/28/2013 11:01 AM, Mike Miller wrote:
> We are using RestEasy 2.3.5.
>
> I read thru a couple threads on the mailing list and trying to figure
> out if we need CORS support for our usage.   Just looking for some
> verification or validation.
>
> We are exposing  a lot of our services thru resteasy and the expectation
> is that our resources will be called from mobile applications using Ajax
> to call the services.   We support calls for GET, PUT, POST and DELETE
> consuming and producing both json and xml.  Testing from the Chrome
> Advanced Rest Client works great but once we start trying to make jQuery
> (or other Javascript) AJAX calls from web pages, we run into problems.
> We can start Chrome with the “—disable-web-security” command line
> parameter but I know that’s not real solution.    To correctly support
> these remote ajax calls do we need to provide some type of CORS support?
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to