Jersey : Is it possible to specify multiple values in @DefaultValue() annotation
问题 I am playing around with Java API for RESTful Web Services (JAX-RS) , and encountered @DefaultValue annotation in Jersey implementation of JAX-RS. Here is the code snippet @GET @Path("/query") public Response getUserWithQueryParams( @DefaultValue("defaultId") @QueryParam("from")String from, @DefaultValue("defaultName") @QueryParam("to") String to, @DefaultValue("mobileNo")@QueryParam("orderBy") List<String> orderBy ){ My third argument is of List<String> which can have multiple values for