org.opengts.war.tools
Interface FileUploadHandler


public interface FileUploadHandler


Method Summary
 java.lang.String handleFileUpload(java.lang.String context, RequestProperties reqState, java.lang.String name, java.lang.String contentType, java.lang.String contentDisposition, java.lang.String fileName, byte[] fileBytes)
          Handle a File Upload request
 

Method Detail

handleFileUpload

java.lang.String handleFileUpload(java.lang.String context,
                                  RequestProperties reqState,
                                  java.lang.String name,
                                  java.lang.String contentType,
                                  java.lang.String contentDisposition,
                                  java.lang.String fileName,
                                  byte[] fileBytes)
Handle a File Upload request

Parameters:
context - The "context" of the File Upload
name - The MIME name
contentType - The MIME "content-type" value
contentDisposition - The MIME "content-disposition" value
fileName - The MIME upload file name
fileBytes - The MIME upload file bytes
Returns:
The response String