hudson.util
Class MultipartFormDataParser
java.lang.Object
hudson.util.MultipartFormDataParser
public class MultipartFormDataParser
- extends Object
Wraps commons file-upload and handles a "multipart/form-data" form submisison
(that often includes file upload.)
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipartFormDataParser
public MultipartFormDataParser(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
get
public String get(String key)
getFileItem
public org.apache.commons.fileupload.FileItem getFileItem(String key)
cleanUp
public void cleanUp()
- If any file is created on the disk, delete them all.
Even if this method is not called, the resource will be still cleaned up later by GC.
Copyright © 2004-2013. All Rights Reserved.