Serialized Form


Package uk.co.weft.maybeupload

Class uk.co.weft.maybeupload.DumpServlet implements Serializable

Class uk.co.weft.maybeupload.EndOfPartException implements Serializable

Class uk.co.weft.maybeupload.MaybeUploadRequestWrapper implements Serializable

Serialized Fields

MFDHEADER

java.lang.String MFDHEADER
the standard identifying header of a multipart request

maxUpload

int maxUpload
the maximum upload size.

request

javax.servlet.http.HttpServletRequest request
the request I wrap

saveUploadedFilesToDisk

boolean saveUploadedFilesToDisk
save uploads directly to disk?

isMultipart

boolean isMultipart
whether that request is multipart

decoder

MultipartHandler decoder
the handler which decodes my input if I am multipart

workDir

java.io.File workDir
the directory in which I will save uploaded files

Class uk.co.weft.maybeupload.MaybeUploadServlet implements Serializable

Serialized Fields

uploadDirPath

java.lang.String uploadDirPath
file system local path to where I unpack files I have uploaded

uploadDirURL

java.lang.String uploadDirURL
the path to my upload directory (work directory) within the document root of the web server, if it is within the document root of the web server, else null. For example, if uploadDirPath was "/home/httpd/htdocs/upload", and the document root of the Web server was /home/httpd/htdocs, then it would make sense to have uploadDirURL set to "/upload/"

allowOverwrite

boolean allowOverwrite
whether to allow uploaded files to be overwritten when new files are uploaded; default is we don't

silentlyRename

boolean silentlyRename
whether or not to rename uploaded files to prevent name collisions; default is we do

maxUpload

int maxUpload
the maximum upload size: by default, half a megabyte.

uploadDir

java.io.File uploadDir
the actual upload directory as a file object

saveUploadedFilesToDisk

boolean saveUploadedFilesToDisk
whether or not to save uploads directly to disk; default is we do

Class uk.co.weft.maybeupload.SnoopServlet implements Serializable

Class uk.co.weft.maybeupload.UploadException implements Serializable