Class UploadService.UploadResult
java.lang.Object
com.microsoftopentechnologies.windowsazurestorage.service.UploadService.UploadResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UploadService
Data object for https uploading result.
- See Also:
-
Constructor Summary
ConstructorDescriptionUploadResult
(int statusCode, String responseBody, String name, String url, long byteSize, String storageType, long startTime, long endTime) Default constructor for UploadResult. -
Method Summary
-
Constructor Details
-
UploadResult
public UploadResult(int statusCode, String responseBody, String name, String url, long byteSize, String storageType, long startTime, long endTime) Default constructor for UploadResult.- Parameters:
statusCode
- Status code for uploading task, the same as the http response code.responseBody
- Response from the server side. Provide detailed information when the task fails.name
- The name of the uploaded object.url
- The target url of the uploaded object.byteSize
- The byte size of the uploaded object.storageType
- Storage type of the uploaded object.startTime
- Start time of the uploading task.endTime
- End time of the uploading task.
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getResponseBody
-
getName
-
getUrl
-
getByteSize
public long getByteSize() -
getStorageType
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime()
-