FileWrapper
May 27, 2025 ยท View on GitHub
Class to wrap file and contentType to be sent as part of a HTTP request.
Constructors
| Name | Description |
|---|---|
FileWrapper(File file) | Initialization constructor. |
FileWrapper(File file, String contentType) | Initialization constructor. |
Methods
| Name | Description | Return Type |
|---|---|---|
getFile() | File instance. | File |
getContentType() | Content type of the file. | String |