Serialized Form


Package org.apache.commons.fileupload

Class org.apache.commons.fileupload.DefaultFileItem extends DiskFileItem implements Serializable

Class org.apache.commons.fileupload.FileItemStream.ItemSkippedException extends IOException implements Serializable

serialVersionUID: -7280778431581963740L

Class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException extends FileUploadBase.SizeException implements Serializable

serialVersionUID: 8150776562029630058L

Serialized Fields

fileName

String fileName
File name of the item, which caused the exception.


fieldName

String fieldName
Field name of the item, which caused the exception.

Class org.apache.commons.fileupload.FileUploadBase.FileUploadIOException extends IOException implements Serializable

serialVersionUID: -7047616958165584154L

Serialized Fields

cause

FileUploadException cause
The exceptions cause; we overwrite the parent classes field, which is available since Java 1.4 only.

Class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException extends FileUploadException implements Serializable

serialVersionUID: -9073026332015646668L

Class org.apache.commons.fileupload.FileUploadBase.IOFileUploadException extends FileUploadException implements Serializable

serialVersionUID: 1749796615868477269L

Serialized Fields

cause

IOException cause
The exceptions cause; we overwrite the parent classes field, which is available since Java 1.4 only.

Class org.apache.commons.fileupload.FileUploadBase.SizeException extends FileUploadException implements Serializable

serialVersionUID: -8776225574705254126L

Serialized Fields

actual

long actual
The actual size of the request.


permitted

long permitted
The maximum permitted size of the request.

Class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException extends FileUploadBase.SizeException implements Serializable

serialVersionUID: -2474893167098052828L

Class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException extends FileUploadException implements Serializable

serialVersionUID: 7062279004812015273L

Class org.apache.commons.fileupload.FileUploadException extends Exception implements Serializable

serialVersionUID: 8881893724388807504L

Serialized Fields

cause

Throwable cause
The exceptions cause. We overwrite the cause of the super class, which isn't available in Java 1.3.

Class org.apache.commons.fileupload.InvalidFileNameException extends RuntimeException implements Serializable

serialVersionUID: 7922042602454350470L

Serialized Fields

name

String name

Class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException extends IOException implements Serializable

Class org.apache.commons.fileupload.MultipartStream.MalformedStreamException extends IOException implements Serializable


Package org.apache.commons.fileupload.disk

Class org.apache.commons.fileupload.disk.DiskFileItem extends Object implements Serializable

serialVersionUID: 2237570099615271025L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the state of this object during deserialization.

Throws:
IOException - if an error occurs.
ClassNotFoundException - if class cannot be found.

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Writes the state of this object during serialization.

Throws:
IOException - if an error occurs.
Serialized Fields

fieldName

String fieldName
The name of the form field as provided by the browser.


contentType

String contentType
The content type passed by the browser, or null if not defined.


isFormField

boolean isFormField
Whether or not this item is a simple form field.


fileName

String fileName
The original filename in the user's filesystem.


size

long size
The size of the item, in bytes. This is used to cache the size when a file item is moved from its original location.


sizeThreshold

int sizeThreshold
The threshold above which uploads will be stored on disk.


repository

File repository
The directory in which uploaded files will be stored, if stored on disk.


cachedContent

byte[] cachedContent
Cached contents of the file.


dfosFile

File dfosFile
File to allow for serialization of the content of this item.


headers

FileItemHeaders headers
The file items headers.


Package org.apache.commons.fileupload.util

Class org.apache.commons.fileupload.util.FileItemHeadersImpl extends Object implements Serializable

serialVersionUID: -4455695752627032559L

Serialized Fields

headerNameToValueListMap

Map headerNameToValueListMap
Map of String keys to a List of String instances.


headerNameList

List headerNameList
List to preserve order of headers as added. This would not be needed if a LinkedHashMap could be used, but don't want to depend on 1.4.



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