20.2. java.util.List with multipart data

If the body parts are uniform, you can provide a java.util.List as your input parameter and avoid unmarshaling each part manually. As you can see in the example code below, this must include the type being unmarshaled with the generic parameter of the List type declaration.
   @Path("/multipart")
   public class MyService
   {
      @PUT
      @Consumes("multipart/mixed")
      public void put(List<Customer> customers)
      {
         ...
      }
   }