getAmazonHeaders
This method is intended to be used to get response headers and its values from Amazon after an upload in order to verify the successful upload of the files.
Map<String,String> getAmazonHeaders(String item)
Parameters:
item: File location/key of uploaded file.
Return Value: The method will return the map of response headers and its values (e.g. ETag)
Example code:
Map<String,String> headResponse = cg.SDriveTools.getAmazonHeaders(uploadRequestInfos .fileLocation);