public class ErrorFilePart
extends org.apache.commons.httpclient.methods.multipart.FilePart
Modifier and Type | Field and Description |
---|---|
boolean |
cancel |
DEFAULT_CHARSET, DEFAULT_CONTENT_TYPE, DEFAULT_TRANSFER_ENCODING, FILE_NAME
BOUNDARY, BOUNDARY_BYTES, CHARSET, CHARSET_BYTES, CONTENT_DISPOSITION, CONTENT_DISPOSITION_BYTES, CONTENT_TRANSFER_ENCODING, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE, CONTENT_TYPE_BYTES, CRLF, CRLF_BYTES, EXTRA, EXTRA_BYTES, QUOTE, QUOTE_BYTES
Constructor and Description |
---|
ErrorFilePart(String name,
File file)
Calls parent 'FilePart' class
|
Modifier and Type | Method and Description |
---|---|
protected void |
sendData(OutputStream out) |
getSource, lengthOfData, sendDispositionHeader
getCharSet, getContentType, getName, getTransferEncoding, setCharSet, setContentType, setName, setTransferEncoding
public ErrorFilePart(String name, File file) throws FileNotFoundException
name
- file
- FileNotFoundException
protected void sendData(OutputStream out) throws IOException
sendData
in class org.apache.commons.httpclient.methods.multipart.FilePart
IOException
Version: 4.4.12-ice34-b116
Copyright © 2014 The University of Dundee & Open Microscopy Environment. All Rights Reserved.