Deprecated API


Contents
Deprecated Classes
org.apache.commons.fileupload.DefaultFileItem
          Use DiskFileItem instead. 
org.apache.commons.fileupload.DefaultFileItemFactory
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.DiskFileUpload
          Use ServletFileUpload together with DiskFileItemFactory instead. 
 

Deprecated Exceptions
org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
          As of commons-fileupload 1.2, the presence of a content-length header is no longer required. 
 

Deprecated Fields
org.apache.commons.fileupload.FileUploadBase.MAX_HEADER_SIZE
          This constant is no longer used. As of commons-fileupload 1.2, the only applicable limit is the total size of a parts headers, MultipartStream.HEADER_PART_SIZE_MAX. 
 

Deprecated Methods
org.apache.commons.fileupload.FileUploadBase.createItem(Map, boolean)
          This method is no longer used in favour of internally created instances of FileItem. 
org.apache.commons.fileupload.DefaultFileItemFactory.createItem(String, String, boolean, String)
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.FileUploadBase.getFieldName(Map)
          Use FileUploadBase.getFieldName(FileItemHeaders). 
org.apache.commons.fileupload.DiskFileUpload.getFileItemFactory()
          Use FileUpload instead. 
org.apache.commons.fileupload.FileUploadBase.getFileName(Map)
          Use FileUploadBase.getFileName(FileItemHeaders). 
org.apache.commons.fileupload.FileUploadBase.getHeader(Map, String)
          Use FileItemHeaders.getHeader(String). 
org.apache.commons.fileupload.DiskFileUpload.getRepositoryPath()
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.DiskFileUpload.getSizeThreshold()
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.FileUploadBase.isMultipartContent(HttpServletRequest)
          Use the method on ServletFileUpload instead. 
org.apache.commons.fileupload.FileUploadBase.parseHeaders(String)
          Use FileUploadBase.getParsedHeaders(String) 
org.apache.commons.fileupload.FileUploadBase.parseRequest(HttpServletRequest)
          Use the method in ServletFileUpload instead. 
org.apache.commons.fileupload.DiskFileUpload.parseRequest(HttpServletRequest, int, long, String)
          Use ServletFileUpload instead. 
org.apache.commons.fileupload.DiskFileUpload.setFileItemFactory(FileItemFactory)
          Use FileUpload instead. 
org.apache.commons.fileupload.DiskFileUpload.setRepositoryPath(String)
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.DiskFileUpload.setSizeThreshold(int)
          Use DiskFileItemFactory instead. 
 

Deprecated Constructors
org.apache.commons.fileupload.DefaultFileItem(String, String, boolean, String, int, File)
          Use DiskFileItem instead. 
org.apache.commons.fileupload.DefaultFileItemFactory()
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.DefaultFileItemFactory(int, File)
          Use DiskFileItemFactory instead. 
org.apache.commons.fileupload.DiskFileUpload()
          Use FileUpload instead. 
org.apache.commons.fileupload.DiskFileUpload(DefaultFileItemFactory)
          Use FileUpload instead. 
org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException()
          Replaced by #SizeLimitExceededException(String, long, long) 
org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException(String)
          Replaced by #SizeLimitExceededException(String, long, long) 
org.apache.commons.fileupload.MultipartStream()
          Use MultipartStream.MultipartStream(InputStream, byte[], org.apache.commons.fileupload.MultipartStream.ProgressNotifier), or MultipartStream.MultipartStream(InputStream, byte[], int, org.apache.commons.fileupload.MultipartStream.ProgressNotifier) 
org.apache.commons.fileupload.MultipartStream(InputStream, byte[])
          Use MultipartStream.MultipartStream(InputStream, byte[], MultipartStream.ProgressNotifier). 
org.apache.commons.fileupload.MultipartStream(InputStream, byte[], int)
          Use MultipartStream.MultipartStream(InputStream, byte[], int, org.apache.commons.fileupload.MultipartStream.ProgressNotifier). 
 



Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.