Serialized Form


Package org.apache.commons.fileupload

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

serialVersionUID: 4088572813833518255L

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

serialVersionUID: -7280778431581963740L

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

serialVersionUID: 8150776562029630058L

Serialized Fields

fileName

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


fieldName

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

Class org.apache.commons.fileupload.FileUploadBase.FileUploadIOException extends java.io.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

java.io.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 java.lang.Exception implements Serializable

serialVersionUID: 8881893724388807504L

Serialized Fields

cause

java.lang.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 java.lang.RuntimeException implements Serializable

serialVersionUID: 7922042602454350470L

Serialized Fields

name

java.lang.String name
The file name causing the exception.

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

serialVersionUID: -161533165102632918L

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

serialVersionUID: 6466926458059796677L


Package org.apache.commons.fileupload.disk

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

serialVersionUID: 2237570099615271025L

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.


headers

FileItemHeaders headers
The file items headers.


Package org.apache.commons.fileupload.util

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

serialVersionUID: -4455695752627032559L

Serialized Fields

headerNameToValueListMap

java.util.Map<K,V> headerNameToValueListMap
Map of String keys to a List of String instances.



Copyright © 2002-2013. All Rights Reserved.