Hi,
I implemented a WS that has a query parameter that can take several values
so it is declared as @QueryParam ("foo") List<String> foo.
However the list can be quite long and it is cumbersome to publish the WS
like this because the user is forced to repeat the query param several
times:
GET ws?foo=aa&foo=bb&foo=cc ... etc
I am thinking about providing a single String queryParam which will contain
the list like "aa,bb,cc,...etc." which of course needs to be parsed.
Is this a customary practice or is there an alternative solution?
Thanks.