Package org.apache.tomcat.util.http.fileupload

Examples of org.apache.tomcat.util.http.fileupload.DefaultFileItemFactory


   * @return {@link List}<{@link FileItem}>
   * @throws FileUploadException
   */
  @SuppressWarnings("unchecked")
  public List<FileItem> getFileItems() throws FileUploadException {
    FileItemFactory factory = new DefaultFileItemFactory();
    FileUpload upload = new FileUpload(factory);
    return upload.parseRequest(request);
  }
View Full Code Here

TOP

Related Classes of org.apache.tomcat.util.http.fileupload.DefaultFileItemFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.