use of org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataOutput in project wildfly by wildfly.
the class MultipartResource method get.
@GET
@Produces("multipart/related")
public MultipartFormDataOutput get() {
MultipartFormDataOutput output = new MultipartFormDataOutput();
output.addPart("Hello", MediaType.TEXT_PLAIN_TYPE);
output.addPart("World", MediaType.TEXT_PLAIN_TYPE);
return output;
}
Aggregations