Class HttpRequestFileUpload


  • public class HttpRequestFileUpload
    extends java.lang.Object
    HttpRequestFileUpload - Receive a file upload through an HttpServletRequest
    • Constructor Detail

      • HttpRequestFileUpload

        public HttpRequestFileUpload()
    • Method Detail

      • getOverrideFilename

        public java.lang.String getOverrideFilename()
      • setOverrideFilename

        public void setOverrideFilename​(java.lang.String ofName)
      • getFilename

        public java.lang.String getFilename()
      • getFilepath

        public java.lang.String getFilepath()
      • setSavePath

        public void setSavePath​(java.lang.String savePath)
      • getContentType

        public java.lang.String getContentType()
      • getFieldValue

        public java.lang.String getFieldValue​(java.lang.String fieldName)
      • doUpload

        public boolean doUpload​(javax.servlet.http.HttpServletRequest request,
                                java.lang.String fileType)
                         throws java.io.IOException
        Throws:
        java.io.IOException