This topic has not yet been written. The content below is from the topic description.
23.7. Multipart Output with java.util.List If your body parts are uniform, you do not have to manually marshall each and every part or even use a MultipartOutput object.. You can just provide a java.util.List. It must have the generic type it is marshalling with the generic parameter of the List type declaration. You must also annotate the method with the @PartType annotation to specify what media type each part is. Here's an example of sending back a list of customers back to a client. The customers are JAXB objects @Path("/multipart") public class MyService { @GET @Produces("multipart/mixed") @PartType("application/xml") public List get() { ... } }