|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUploadFileServletPlugin
Allows a platform plugin to provide it's own file uploading capability
which is not currently supported in IContentGenerator
.
Method Summary | |
---|---|
String |
getFileExtension()
The file extension to append to the randomly generated filename resulting from the file upload. |
long |
getMaxFileSize()
The maximum permitted upload file size in bytes |
long |
getMaxFolderSize()
The maximum number of files allowed in the target folder. |
String |
getTargetFolder()
A path where the uploaded files will be saved, relative to the solution path. |
void |
onSuccess(String pathToFile,
javax.servlet.http.HttpServletResponse response)
A callback invoked upon successful file upload. |
Method Detail |
---|
String getTargetFolder()
long getMaxFileSize()
long getMaxFolderSize()
String getFileExtension()
void onSuccess(String pathToFile, javax.servlet.http.HttpServletResponse response)
UploadFileServlet
can do whatever it needs to with the repsonse which will be the actual
servlet response.
pathToFile
- the absolute path to the file successfully uploadedresponse
- the servlet response when the file upload succeedes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |