Class FileUpload


  • public class FileUpload
    extends Object
    • Constructor Detail

      • FileUpload

        public FileUpload()
    • Method Detail

      • addClasspathResource

        public void addClasspathResource​(String resourcePath,
                                         String contentType,
                                         String comment)
      • addClasspathResource

        public void addClasspathResource​(String filename,
                                         String resourcePath,
                                         String contentType,
                                         String comment)
      • addResource

        public void addResource​(org.apache.commons.httpclient.methods.multipart.PartSource partSource,
                                String contentType,
                                String comment)
      • toRequest

        public org.apache.commons.httpclient.HttpMethod toRequest​(String url)