public class AjaxFileUploadRequestHandler extends WORequestHandler
| Properties | |
er.ajax.AjaxFileRequestHandler.tempFileFolder | the location of the temp file folder. If not specified, this
will go to Java's default temporary folder (/tmp on Mac OS X) |
er.ajax.AjaxFileRequestHandler.maxUploadSize | the maximum size in bytes of the file |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log |
static java.lang.String |
REQUEST_HANDLER_KEY |
static java.lang.String |
UPLOAD_FINISHED_KEY |
DidHandleRequestNotification| Modifier | Constructor and Description |
|---|---|
|
AjaxFileUploadRequestHandler() |
|
AjaxFileUploadRequestHandler(java.io.File tempFileFolder,
long maxUploadSize) |
protected |
AjaxFileUploadRequestHandler(java.lang.String tempFilePath,
long maxUploadSize) |
| Modifier and Type | Method and Description |
|---|---|
static AjaxUploadProgress |
ajaxUploadProgress(WOSession session,
java.lang.String id)
Type-safe wrapper around AjaxProgressBar.progress.
|
protected void |
downloadFinished(AjaxUploadProgress progress) |
WOResponse |
handleRequest(WORequest request) |
toStringpublic static final java.lang.String UPLOAD_FINISHED_KEY
public static final java.lang.String REQUEST_HANDLER_KEY
public static final org.apache.log4j.Logger log
public AjaxFileUploadRequestHandler()
protected AjaxFileUploadRequestHandler(java.lang.String tempFilePath,
long maxUploadSize)
public AjaxFileUploadRequestHandler(java.io.File tempFileFolder,
long maxUploadSize)
public WOResponse handleRequest(WORequest request)
handleRequest in class WORequestHandlerprotected void downloadFinished(AjaxUploadProgress progress)
public static AjaxUploadProgress ajaxUploadProgress(WOSession session, java.lang.String id)
session - the sessionid - the id of the progress model to retrieveCopyright © 2002 – 2022 Project Wonder.