On Apr 23, 2013, at 9:27 AM, Bill Burke wrote:
> The deprecated ClientResponse object extends javax.ws.rs.core.Response. > Response has had a bunch of new methods added to it in JAX-RS 2.0 > which I didn't implement (or want to implement) for our deprecated > client framework. But it looks like it broke some backward > compatibility too, which wasn't aware of. > > My suggestion is to rewrite the examples using JAX-RS 2.0 API, or to fix > the example to use ClientResponse.getResponseHeaders() Thanks, Bill. getResponseHeaders() did the trick. I didn't spot that method in the javadocs. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users