Package | Description |
---|---|
org.apache.tomcat.util.http.fileupload |
NOTE: This code has been copied from commons-fileupload 1.2.1 and
commons-io 1.4 and package renamed to avoid clashes with any web apps that
may wish to use these libraries.
|
org.apache.tomcat.util.http.fileupload.servlet |
Modifier and Type | Class and Description |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
FileItemIterator |
FileUploadBase.getItemIterator(RequestContext ctx)
Processes an RFC 1867
compliant
multipart/form-data stream. |
boolean |
FileItemIterator.hasNext()
Returns, whether another instance of
FileItemStream
is available. |
FileItemStream |
FileItemIterator.next()
Returns the next available
FileItemStream . |
List<FileItem> |
FileUploadBase.parseRequest(RequestContext ctx)
Processes an RFC 1867
compliant
multipart/form-data stream. |
Constructor and Description |
---|
FileUploadBase.FileUploadIOException(FileUploadException pCause)
Creates a
FileUploadIOException with the
given cause. |
Modifier and Type | Method and Description |
---|---|
FileItemIterator |
ServletFileUpload.getItemIterator(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867
compliant
multipart/form-data stream. |
List<FileItem> |
ServletFileUpload.parseRequest(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867
compliant
multipart/form-data stream. |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.