users@jax-rs-spec.java.net

[jax-rs-spec users] Re: Is the Form class mutable?

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Mon, 19 Mar 2012 11:32:36 -0400

On Mar 16, 2012, at 5:25 AM, Thomas Koch wrote:

>
> from the javadoc it isn't clear for me, whether javax.ws.rs.core.Form is
> mutable or immutable. Of course I'd strongly prefer immutability.

 Mutable.

>
> It would also be handy to have accessor methods directly on the Form class
> without the detour via the mutable MultivaluedMap. I don't see any benefit to
> expose this map at all to the user.

 Perhaps. Note that MultivaluedMap is used in other parts of the API, however.

-- Santiago