Description
See http://docs.jboss.org/resteasy/docs/2.3.1.GA/userguide/html/AJAX_Client.html and https://community.jboss.org/message/725332#725332 for more information.
This may or may not apply to as-*, but for other examples we need to review and use/adapt as needed.