Package com.logicaldoc.util.http
Class HttpUpload
java.lang.Object
com.logicaldoc.util.http.HttpUpload
Utility class to handle uploads.
- Since:
- 4.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()getURL()voidvoidsetFileName(String fileName) voidsetListener(FileBodyCounter.ProgressListener listener) voidvoidupload()
-
Constructor Details
-
HttpUpload
public HttpUpload()
-
-
Method Details
-
upload
- Throws:
IOException
-
getURL
-
setURL
-
getFile
-
setFile
-
getFileName
-
setFileName
-
getListener
-
setListener
-