public class AjaxFileUploadRequestHandler extends WORequestHandler
| Name | Description |
|---|---|
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 String |
REQUEST_HANDLER_KEY |
static String |
UPLOAD_FINISHED_KEY |
DidHandleRequestNotification| Modifier | Constructor and Description |
|---|---|
|
AjaxFileUploadRequestHandler() |
|
AjaxFileUploadRequestHandler(File tempFileFolder,
long maxUploadSize) |
protected |
AjaxFileUploadRequestHandler(String tempFilePath,
long maxUploadSize) |
| Modifier and Type | Method and Description |
|---|---|
static AjaxUploadProgress |
ajaxUploadProgress(WOSession session,
String id)
Type-safe wrapper around AjaxProgressBar.progress.
|
protected void |
downloadFinished(AjaxUploadProgress progress) |
WOResponse |
handleRequest(WORequest request) |
toStringpublic static final String UPLOAD_FINISHED_KEY
public static final String REQUEST_HANDLER_KEY
public AjaxFileUploadRequestHandler()
protected AjaxFileUploadRequestHandler(String tempFilePath, long maxUploadSize)
public AjaxFileUploadRequestHandler(File tempFileFolder, long maxUploadSize)
public WOResponse handleRequest(WORequest request)
handleRequest in class WORequestHandlerprotected void downloadFinished(AjaxUploadProgress progress)
public static AjaxUploadProgress ajaxUploadProgress(WOSession session, String id)
session - the sessionid - the id of the progress model to retrieveCopyright © 2002 – 2025 Project Wonder.