Package javaforce.service
Class WebUpload
java.lang.Object
javaforce.service.WebUpload
A class to handle file uploads (default max 64MBs)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if web request includes multipart form data normally used with file uploads.processRequest(WebRequest req, String out_folder) static voidsetMaxLength(long maxlength) Sets max file upload (-1 = unlimited) (default = 64MBs)
-
Field Details
-
debug
public static boolean debug
-
-
Constructor Details
-
WebUpload
public WebUpload()
-
-
Method Details
-
isMultipartContent
Checks if web request includes multipart form data normally used with file uploads. -
setMaxLength
public static void setMaxLength(long maxlength) Sets max file upload (-1 = unlimited) (default = 64MBs) -
processRequest
-