How do you catch incoming @Post variables when it is a multipart/form-data request?
For a regular Post request I would do:
@Post
public void postExam
to pack it on one line, in you Restlet Resource class :
Iterator it = new RestletFileUpload(new DiskFileItemFactory()).parseRequest(getRequest()).iterator();
Then in your loop through your items, you can test whether they are or not fileItems with the method: isFormField().
Testing if a fileItem is a formField... makes sens ? ;)
but it works.
Good luck.