Package org.jclouds.s3.util
Class S3Utils
java.lang.Object
org.jclouds.s3.util.S3Utils
Encryption, Hashing, and IO Utilities needed to sign and verify S3 requests and responses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
deleteAndVerifyContainerGone
(S3Client sync, String container) This implementation invokesS3Client.deleteBucketIfEmpty(java.lang.String)
followed byS3Client.bucketExists(java.lang.String)
until it is true.static String
getBucketName
(HttpRequest req) static String
validateBucketName
(String bucketName)
-
Constructor Details
-
S3Utils
public S3Utils()
-
-
Method Details
-
validateBucketName
-
deleteAndVerifyContainerGone
This implementation invokesS3Client.deleteBucketIfEmpty(java.lang.String)
followed byS3Client.bucketExists(java.lang.String)
until it is true. -
getBucketName
-