|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.service.upload.FormAsynchronousUploadHandler
public class FormAsynchronousUploadHandler
FormAsynchronousUploadHandler.
getFileItem(String, String),
removeFileItem(String, String)| Field Summary | |
|---|---|
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.apache.commons.fileupload.FileItem>> |
_mapAsynchronousUpload
contains uploaded file items |
| Constructor Summary | |
|---|---|
FormAsynchronousUploadHandler()
|
|
| Method Summary | |
|---|---|
static org.apache.commons.fileupload.FileItem |
getFileItem(java.lang.String strIdEntry,
java.lang.String strSessionId)
Gets the fileItem for the entry and the given session. |
boolean |
isInvoked(javax.servlet.http.HttpServletRequest request)
|
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
net.sf.json.JSONObject mainObject,
java.util.List<org.apache.commons.fileupload.FileItem> fileItems)
|
static void |
removeFileItem(java.lang.String strIdEntry,
java.lang.String strSessionId)
Removes the file from the list. |
static void |
removeSessionFiles(java.lang.String strSessionId)
Removes all files associated to the session |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,org.apache.commons.fileupload.FileItem>> _mapAsynchronousUpload
| Constructor Detail |
|---|
public FormAsynchronousUploadHandler()
| Method Detail |
|---|
public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
isInvoked in interface fr.paris.lutece.portal.web.upload.IAsynchronousUploadHandler
public void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
net.sf.json.JSONObject mainObject,
java.util.List<org.apache.commons.fileupload.FileItem> fileItems)
process in interface fr.paris.lutece.portal.web.upload.IAsynchronousUploadHandler
public static org.apache.commons.fileupload.FileItem getFileItem(java.lang.String strIdEntry,
java.lang.String strSessionId)
strIdEntry - the entrystrSessionId - the session id
null otherwise.
public static void removeFileItem(java.lang.String strIdEntry,
java.lang.String strSessionId)
strIdEntry - the entry idstrSessionId - the session idpublic static void removeSessionFiles(java.lang.String strSessionId)
strSessionId - the session id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||