Example: Maps of multipart/form-data
Here's an example of of unmarshalling a Map of Customer objects which are JAXB annotated classes. @Path("/multipart") public class MyService { @PUT @Consumes("multipart/form-data") public void put(Map customers) { ... } }