Uses of Class
org.apache.commons.fileupload.FileUploadException
-
Packages that use FileUploadException Package Description org.apache.commons.fileupload A component for handling HTML file uploads as specified by RFC 1867.org.apache.commons.fileupload.portlet An implementation ofFileUpload
for use in portlets conforming to JSR 168.org.apache.commons.fileupload.servlet An implementation ofFileUpload
for use in servlets conforming to JSR 53. -
-
Uses of FileUploadException in org.apache.commons.fileupload
Subclasses of FileUploadException in org.apache.commons.fileupload Modifier and Type Class Description class
FileCountLimitExceededException
This exception is thrown if a request contains more files than the specified limit.static class
FileUploadBase.FileSizeLimitExceededException
Thrown to indicate that A files size exceeds the configured maximum.static class
FileUploadBase.InvalidContentTypeException
Thrown to indicate that the request is not a multipart request.static class
FileUploadBase.IOFileUploadException
Thrown to indicate an IOException.protected static class
FileUploadBase.SizeException
This exception is thrown, if a requests permitted size is exceeded.static class
FileUploadBase.SizeLimitExceededException
Thrown to indicate that the request size exceeds the configured maximum.static class
FileUploadBase.UnknownSizeException
Deprecated.1.2 As of commons-fileupload 1.2, the presence of a content-length header is no longer required.Fields in org.apache.commons.fileupload declared as FileUploadException Modifier and Type Field Description private FileUploadException
FileUploadBase.FileUploadIOException. cause
The exceptions cause; we overwrite the parent classes field, which is available since Java 1.4 only.Methods in org.apache.commons.fileupload that throw FileUploadException Modifier and Type Method Description protected FileItem
FileUploadBase. createItem(java.util.Map<java.lang.String,java.lang.String> headers, boolean isFormField)
Deprecated.1.2 This method is no longer used in favour of internally created instances ofFileItem
.FileItemIterator
FileUploadBase. getItemIterator(RequestContext ctx)
Processes an RFC 1867 compliantmultipart/form-data
stream.boolean
FileItemIterator. hasNext()
Returns, whether another instance ofFileItemStream
is available.boolean
FileUploadBase.FileItemIteratorImpl. hasNext()
Returns, whether another instance ofFileItemStream
is available.FileItemStream
FileItemIterator. next()
Returns the next availableFileItemStream
.FileItemStream
FileUploadBase.FileItemIteratorImpl. next()
Returns the next availableFileItemStream
.java.util.Map<java.lang.String,java.util.List<FileItem>>
FileUploadBase. parseParameterMap(RequestContext ctx)
Processes an RFC 1867 compliantmultipart/form-data
stream.java.util.List<FileItem>
DiskFileUpload. parseRequest(javax.servlet.http.HttpServletRequest req, int sizeThreshold, long sizeMax, java.lang.String path)
Deprecated.1.1 UseServletFileUpload
instead.java.util.List<FileItem>
FileUploadBase. parseRequest(javax.servlet.http.HttpServletRequest req)
Deprecated.1.1 UseServletFileUpload.parseRequest(HttpServletRequest)
instead.java.util.List<FileItem>
FileUploadBase. parseRequest(RequestContext ctx)
Processes an RFC 1867 compliantmultipart/form-data
stream.Constructors in org.apache.commons.fileupload with parameters of type FileUploadException Constructor Description FileUploadIOException(FileUploadException pCause)
Creates aFileUploadIOException
with the given cause.Constructors in org.apache.commons.fileupload that throw FileUploadException Constructor Description FileItemIteratorImpl(RequestContext ctx)
Creates a new instance. -
Uses of FileUploadException in org.apache.commons.fileupload.portlet
Methods in org.apache.commons.fileupload.portlet that throw FileUploadException Modifier and Type Method Description FileItemIterator
PortletFileUpload. getItemIterator(javax.portlet.ActionRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream.java.util.Map<java.lang.String,java.util.List<FileItem>>
PortletFileUpload. parseParameterMap(javax.portlet.ActionRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream.java.util.List<FileItem>
PortletFileUpload. parseRequest(javax.portlet.ActionRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream. -
Uses of FileUploadException in org.apache.commons.fileupload.servlet
Methods in org.apache.commons.fileupload.servlet that throw FileUploadException Modifier and Type Method Description FileItemIterator
ServletFileUpload. getItemIterator(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream.java.util.Map<java.lang.String,java.util.List<FileItem>>
ServletFileUpload. parseParameterMap(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream.java.util.List<FileItem>
ServletFileUpload. parseRequest(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867 compliantmultipart/form-data
stream.
-