Package 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.
- 
- 
Constructor SummaryConstructors Constructor Description AtmosUtils()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringadjustContainerIfDirOptionPresent(String container, ListContainerOptions options)static voiddeletePathAndEnsureGone(AtmosClient sync, String path)AtmosErrorparseAtmosErrorFromContent(HttpCommand command, HttpResponse response, InputStream content)AtmosErrorparseAtmosErrorFromContent(HttpCommand command, HttpResponse response, String content)static StringputBlob(AtmosClient sync, Crypto crypto, BlobToObject blob2Object, String container, Blob blob, PutOptions options)
 
- 
- 
- 
Method Detail- 
parseAtmosErrorFromContentpublic AtmosError parseAtmosErrorFromContent(HttpCommand command, HttpResponse response, InputStream content) throws HttpException - Throws:
- HttpException
 
 - 
putBlobpublic static String putBlob(AtmosClient sync, Crypto crypto, BlobToObject blob2Object, String container, Blob blob, PutOptions options) 
 - 
deletePathAndEnsureGonepublic static void deletePathAndEnsureGone(AtmosClient sync, String path) 
 - 
parseAtmosErrorFromContentpublic AtmosError parseAtmosErrorFromContent(HttpCommand command, HttpResponse response, String content) throws HttpException - Throws:
- HttpException
 
 - 
adjustContainerIfDirOptionPresentpublic static String adjustContainerIfDirOptionPresent(String container, ListContainerOptions options) 
 
- 
 
-