title: Is it possible to configure JAX-RS method with variable number of URI parameters?
body: <p>is it possible to configure GET method to read variable number of URI parameters and interpret them either as variable argument (array) or collection? I know query parameters can be read as list/set but I can't go for them in my case.</p>
  
  <p>E.g.:</p>
  
  <pre><code>@GET
  @Produces("text/xml")
  @Path("list/{taskId}")
  public String getTaskCheckLists(@PathParam("taskId") int... taskId) {
      return Arrays.toString(taskId);
  }
  </code></pre>
  
  <p>Thanks in advance</p>