title: Jersey: @PathParam with commas to List<MyObject>
body: <p>I would like to call my Webservice with this pattern :</p>
  
  <pre class="lang-none prettyprint-override"><code>/resource/1,2,3
  </code></pre>
  
  <p>And in my Class I want to bind my parameters to a List of Object</p>
  
  <pre class="lang-java prettyprint-override"><code>@Path("/resource")
  public class AppWS {
  
      @GET
      @Path("/{params}")
      public Response get(@PathParam("params") List&lt;MyObject&gt; params) {
          return Response.status(200).entity("output").build();
      }
  }
  </code></pre>
  
  <p>With a simple Object:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class MyObject {
      Integer value;
      public MyObject(Integer value) {
          this.value = value;
      }
  }
  </code></pre>
  
  <p>nb: If it possible I don't want to create an MyObjectList which extends List (and have a constructor which split my string)</p>
  
  <p>How may I proceed ?</p>