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);