public class AjaxFileUploadRequestHandler
extends com.webobjects.appserver.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 |
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(com.webobjects.appserver.WOSession session,
String id)
Type-safe wrapper around AjaxProgressBar.progress.
|
protected void |
downloadFinished(AjaxUploadProgress progress) |
com.webobjects.appserver.WOResponse |
handleRequest(com.webobjects.appserver.WORequest request) |
public 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 com.webobjects.appserver.WOResponse handleRequest(com.webobjects.appserver.WORequest request)
handleRequest
in class com.webobjects.appserver.WORequestHandler
protected void downloadFinished(AjaxUploadProgress progress)
public static AjaxUploadProgress ajaxUploadProgress(com.webobjects.appserver.WOSession session, String id)
session
- the sessionid
- the id of the progress model to retrieveCopyright © 2002 – 2020 Project Wonder.