I'm trying to add Cache-Control headers to the responses generated in JBOSS 7 using resteasy framework. However, all the responses end up getting multiple Cache-Control headers due to JBOSS adding no-cache header by default.
I can't find any setting to remove it and adding interceptors is also not working since no-cache header is being added later.
Can someone tell me how to disable the default pragma and cache-control headers in JBOSS 7?