_at_*Param and List<?>

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 17 Mar 2008 10:55:27 -0700

I propose to change the parameter types that can be annotated with
@*Param to include List. E.g. you could do:

Foo getFoo(@QueryParam("bar") List<String> bars) {...}

The list member type would be the same as currently supported, i.e.
any type that has a String cnstructor or valueOf(String) method.

Using the @DefaultValue annotation with a List<?> type will ensure the
parameter always has at least one member whose value is specified by
the @DefaultValue annotation.

Any objections ?

Marc Hadley <marc.hadley at>
CTO Office, Sun Microsystems.