users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Response headers are writable without a builder

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Mon, 5 Mar 2012 15:38:23 -0500

On Mar 5, 2012, at 10:56 AM, Bill Burke wrote:

> Another thing that sucks about Response, ResponseBuilder, and modifying them in filters is that Response.getMetadata() allows you to modify the headers directly on the Response.

 How so? It states that it's equivalent to getHeaders().asMap() which returns a read-only map.

-- Santiago