fr.paris.lutece.portal.web.upload
Interface IAsynchronousUploadHandler


public interface IAsynchronousUploadHandler

Handler for the asynchronous upload.


Method Summary
 boolean isInvoked(javax.servlet.http.HttpServletRequest request)
          Defines if this handler is invoked.
 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)
          Processes asynchronous upload.
 

Method Detail

process

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)
Processes asynchronous upload. May fill mainObject with plugin specific values.

Parameters:
request - request
response - response
mainObject - the mainObject
fileItems - uploaded fileItems

isInvoked

boolean isInvoked(javax.servlet.http.HttpServletRequest request)
Defines if this handler is invoked. A parameter (like page=plugin-name) should be found in the request.

Parameters:
request - request
Returns:
true if invoked, false otherwise.


Copyright © 2012 Mairie de Paris. All Rights Reserved.