Serialized Form


Package org.apache.commons.fileupload

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

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

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

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.UnknownSizeException extends FileUploadException implements Serializable

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

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

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


Package org.apache.commons.fileupload.disk

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

Serialization Methods

readObject

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

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

writeObject

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

Throws:
java.io.IOException - if an error occurs.
Serialized Fields

fieldName

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


contentType

java.lang.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

java.lang.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

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


cachedContent

byte[] cachedContent
Cached contents of the file.


dfosFile

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



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