users@jax-rs-spec.java.net

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

From: Thomas Koch <thomas_at_koch.ro>
Date: Fri, 16 Mar 2012 10:25:14 +0100

Hi,

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.

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.

Thank you for your attention,

Thomas Koch, http://www.koch.ro