Default Marshalling providers
18.1. Default Providers and default JAX-RS Content Marshalling Resteasy can automatically marshal and unmarshal a few different message bodies. Table 18.1. Media Types Java Type application/*+xml, text/*+xml, application/*+json, application/*+fastinfoset, application/atom+* JaxB annotated classes application/*+xml, text/*+xml org.w3c.dom.Document */* java.lang.String */* java.io.InputStream text/plain primtives, java.lang.String, or any type that has a String constructor, or static valueOf(String) method for input, toString() for output */* javax.activation.DataSource */* java.io.File */* byte[] application/x-www-form-urlencoded javax.ws.rs.core.MultivaluedMap