Read multipart mime types
23.1. Input with multipart/mixed When writing a JAX-RS service, RESTEasy provides an interface that allows you to read in any multipart mime type. org.jboss.resteasy.plugins.providers.multipart.MultipartInput package org.jboss.resteasy.plugins.providers.multipart; public interface MultipartInput { List getParts(); String getPreamble(); } public interface InputPart { MultivaluedMap getHeaders(); String getBodyAsString(); T getBody(Class type, Type genericType) throws IOException; T getBody(org.jboss.resteasy.util.GenericType type) throws IOException; MediaType getMediaType(); boolean isContentTypeFromMessage(); }