org.jclouds.atmos.util
Class AtmosUtils
java.lang.Object
org.jclouds.atmos.util.AtmosUtils
public class AtmosUtils
- extends Object
Encryption, Hashing, and IO Utilities needed to sign and verify Atmos Storage requests and
responses.
- Author:
- Adrian Cole
|
Method Summary |
static String |
adjustContainerIfDirOptionPresent(String container,
org.jclouds.blobstore.options.ListContainerOptions options)
|
static void |
deleteAndEnsureGone(AtmosClient sync,
String path)
|
AtmosError |
parseAtmosErrorFromContent(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
InputStream content)
|
AtmosError |
parseAtmosErrorFromContent(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
String content)
|
static String |
putBlob(AtmosClient sync,
org.jclouds.crypto.Crypto crypto,
BlobToObject blob2Object,
String container,
org.jclouds.blobstore.domain.Blob blob,
PutOptions options)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosUtils
public AtmosUtils()
parseAtmosErrorFromContent
public AtmosError parseAtmosErrorFromContent(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
InputStream content)
throws org.jclouds.http.HttpException
- Throws:
org.jclouds.http.HttpException
putBlob
public static String putBlob(AtmosClient sync,
org.jclouds.crypto.Crypto crypto,
BlobToObject blob2Object,
String container,
org.jclouds.blobstore.domain.Blob blob,
PutOptions options)
deleteAndEnsureGone
public static void deleteAndEnsureGone(AtmosClient sync,
String path)
parseAtmosErrorFromContent
public AtmosError parseAtmosErrorFromContent(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
String content)
throws org.jclouds.http.HttpException
- Throws:
org.jclouds.http.HttpException
adjustContainerIfDirOptionPresent
public static String adjustContainerIfDirOptionPresent(String container,
org.jclouds.blobstore.options.ListContainerOptions options)
Copyright © 2009-2011 jclouds. All Rights Reserved.