Package org.jclouds.s3.util
Class S3Utils
- java.lang.Object
-
- org.jclouds.s3.util.S3Utils
-
public class S3Utils extends Object
Encryption, Hashing, and IO Utilities needed to sign and verify S3 requests and responses.
-
-
Constructor Summary
Constructors Constructor Description S3Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
deleteAndVerifyContainerGone
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container)
This implementation invokesS3Client.deleteBucketIfEmpty(java.lang.String)
followed byS3Client.bucketExists(java.lang.String)
until it is true.
-
getBucketName
public static String getBucketName(HttpRequest req)
-
-