public class S3Utils extends Object
Constructor and Description |
---|
S3Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deleteAndVerifyContainerGone(S3Client sync,
String container)
This implementation invokes
S3Client.deleteBucketIfEmpty(java.lang.String) followed by S3Client.bucketExists(java.lang.String) until
it is true. |
static String |
getBucketName(HttpRequest req) |
static String |
validateBucketName(String bucketName) |
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container)
S3Client.deleteBucketIfEmpty(java.lang.String)
followed by S3Client.bucketExists(java.lang.String)
until
it is true.public static String getBucketName(HttpRequest req)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.