ClonableMultipartFile
A http.MultipartFile that can be cloned, so HTTPRetry.send can re-submit a multipart POST request with the same file.
- Inheritance
-
- Object
- MultipartFile
- ClonableMultipartFile
Constructors
ClonableMultipartFile.fromFileSync
- String filePath
Creates a new ClonableMultipartFile from a file specified by the filePath, sent as form field file.
ClonableMultipartFile
Creates a ClonableMultipartFile. Use ClonableMultipartFile.fromFileSync to create one from a file path.
Properties
filePath
final
The path of the local file to send.
Methods
cleanup
Deletes the local file at filePath.
clone
Make a clone of this ClonableMultipartFile.