@MultipartForm How to get the original file name?
问题 I am using jboss's rest-easy multipart provider for importing a file. I read here http://docs.jboss.org/resteasy/docs/1.0.0.GA/userguide/html/Content_Marshalling_Providers.html#multipartform_annotation regarding @MultipartForm because I can exactly map it with my POJO. Below is my POJO public class SoftwarePackageForm { @FormParam("softwarePackage") private File file; private String contentDisposition; public File getFile() { return file; } public void setFile(File file) { this.file = file; }