Class to wrap file and contentType to be sent as part of a HTTP request.
| Name | Description |
|---|---|
FileWrapper(File file) |
Initialization constructor. |
FileWrapper(File file, String contentType) |
Initialization constructor. |
| Name | Description | Return Type |
|---|---|---|
getFile() |
File instance. | File |
getContentType() |
Content type of the file. | String |