Class HttpUploadFacade

java.lang.Object
org.eclipse.dirigible.api.v3.http.HttpUploadFacade
All Implemented Interfaces:
IScriptingFacade

public class HttpUploadFacade
extends Object
implements IScriptingFacade
Java facade for working uploading files
  • Constructor Details

  • Method Details

    • isMultipartContent

      public static final boolean isMultipartContent()
      Checks if the request contains multipart content.
      Returns:
      true, if the request contains is multipart content
    • parseRequest

      public static final List<org.apache.commons.fileupload.FileItem> parseRequest() throws org.apache.commons.fileupload.FileUploadException
      Parses the request.
      Returns:
      A list of FileItem instances parsed from the request, in the order that they were transmitted.
      Throws:
      org.apache.commons.fileupload.FileUploadException - if there is a problem parsing the request