AjaxFileUploadRequestHandler Class Reference

Inherits com::webobjects::appserver::WORequestHandler.

Collaboration diagram for AjaxFileUploadRequestHandler:

Collaboration graph
base refererrect $struct___string.html 79,16 143,40
[legend]

List of all members.

Public Member Functions

 AjaxFileUploadRequestHandler (File tempFileFolder, long maxUploadSize)
 AjaxFileUploadRequestHandler ()
WOResponse handleRequest (WORequest request)

Static Public Member Functions

static AjaxUploadProgress ajaxUploadProgress (WOSession session, String id)

Static Public Attributes

static final Logger log = Logger.getLogger(AjaxFileUploadRequestHandler.class)
static final String REQUEST_HANDLER_KEY = "upload"
static final String UPLOAD_FINISHED_KEY = "ajaxFileUploadFinished"

Protected Member Functions

 AjaxFileUploadRequestHandler (String tempFilePath, long maxUploadSize)
void downloadFinished (AjaxUploadProgress progress)

Private Attributes

long _maxUploadSize
File _tempFileFolder


Constructor & Destructor Documentation

AjaxFileUploadRequestHandler ( String  tempFilePath,
long  maxUploadSize 
) [protected]

AjaxFileUploadRequestHandler ( File  tempFileFolder,
long  maxUploadSize 
)


Member Function Documentation

static AjaxUploadProgress ajaxUploadProgress ( WOSession  session,
String  id 
) [static]

Type-safe wrapper around AjaxProgressBar.progress.

Parameters:
session the session
id the id of the progress model to retrieve
Returns:
the AjaxUploadProgress

void downloadFinished ( AjaxUploadProgress  progress  )  [protected]

WOResponse handleRequest ( WORequest  request  ) 


Member Data Documentation

long _maxUploadSize [private]

File _tempFileFolder [private]

final Logger log = Logger.getLogger(AjaxFileUploadRequestHandler.class) [static]

final String REQUEST_HANDLER_KEY = "upload" [static]

final String UPLOAD_FINISHED_KEY = "ajaxFileUploadFinished" [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:38 2012 for Project Wonder by  doxygen 1.5.8