Package org.jclouds.atmos.util
Class AtmosUtils
java.lang.Object
org.jclouds.atmos.util.AtmosUtils
Encryption, Hashing, and IO Utilities needed to sign and verify Atmos Storage requests and
responses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
adjustContainerIfDirOptionPresent
(String container, ListContainerOptions options) static void
deletePathAndEnsureGone
(AtmosClient sync, String path) parseAtmosErrorFromContent
(HttpCommand command, HttpResponse response, InputStream content) parseAtmosErrorFromContent
(HttpCommand command, HttpResponse response, String content) static String
putBlob
(AtmosClient sync, Crypto crypto, BlobToObject blob2Object, String container, Blob blob, PutOptions options)
-
Constructor Details
-
AtmosUtils
public AtmosUtils()
-
-
Method Details
-
parseAtmosErrorFromContent
public AtmosError parseAtmosErrorFromContent(HttpCommand command, HttpResponse response, InputStream content) throws HttpException - Throws:
HttpException
-
putBlob
public static String putBlob(AtmosClient sync, Crypto crypto, BlobToObject blob2Object, String container, Blob blob, PutOptions options) -
deletePathAndEnsureGone
-
parseAtmosErrorFromContent
public AtmosError parseAtmosErrorFromContent(HttpCommand command, HttpResponse response, String content) throws HttpException - Throws:
HttpException
-
adjustContainerIfDirOptionPresent
public static String adjustContainerIfDirOptionPresent(String container, ListContainerOptions options)
-