- All Implemented Interfaces:
- Serializable
public class DocumentFileUploadForm
extends Object
implements Serializable
Form for use in file uploads.
For upload of a document as a single chunk, 'first' and 'last' should both be
set to TRUE (uploadId is ignored). For chunked upload, send the first part
with first=TRUE, then send the returned uploadId from the first part with
subsequent parts. The document is parsed when the final part is sent with
last=TRUE.
Hash should always be set to the md5 hash of the entire document. For chunked
upload, the hash is checked against the complete document after the chunks
are joined.
- Author:
- David Mason, damason@redhat.com
- See Also:
MultipartForm
,
Serialized Form