How to get a DataPart from MultipartFormData? I could not find any API to get that.
Http.MultipartFormData formData = body.asMultipartFormData();
// simple form field
// there is NO getData() or something available
DataPart imageIdPart = formData.getData("dataKey");
// uploaded file
FilePart imagePart = formData.getFile("imageKey");
I’m not used to work with Java in Play 2.0, but is something like that working ?