public interface BlobRequestSigner
| Modifier and Type | Method and Description | 
|---|---|
HttpRequest | 
signGetBlob(String container,
           String name)
gets a signed request, including headers as necessary, to access a blob from an external
 client. 
 | 
HttpRequest | 
signGetBlob(String container,
           String name,
           GetOptions options)  | 
HttpRequest | 
signGetBlob(String container,
           String name,
           long timeInSeconds)
gets a signed request, including headers as necessary, to allow access to a blob
 from an external client for a limited period of time 
 | 
HttpRequest | 
signPutBlob(String container,
           Blob blob)
gets a signed request, including headers as necessary, to upload a blob from an external
 client. 
 | 
HttpRequest | 
signPutBlob(String container,
           Blob blob,
           long timeInSeconds)
gets a signed request, including headers as necessary, to upload a blob from an
 external client for a limited period of time 
 | 
HttpRequest | 
signRemoveBlob(String container,
              String name)
gets a signed request, including headers as necessary, to delete a blob from an external
 client. 
 | 
HttpRequest signGetBlob(String container, String name)
container - container where the blob residesdirectory - full path to the blobUnsupportedOperationException - if not supported by the provider@Beta HttpRequest signGetBlob(String container, String name, long timeInSeconds)
timeInSeconds - validity time in seconds for the generated requestsignGetBlob(String, String)HttpRequest signGetBlob(String container, String name, GetOptions options)
options - signGetBlob(String, String)HttpRequest signRemoveBlob(String container, String name)
container - container where the blob residesdirectory - full path to the blobUnsupportedOperationException - if not supported by the providerHttpRequest signPutBlob(String container, Blob blob)
 Blob blob = context.getBlobStore.blobBuilder().name("name").forSigning().contentType("text/plain")
          .contentLength(length).build();
 container - container where the blob residesblob - what to uploadUnsupportedOperationException - if not supported by the providerBlobBuilder#forSigning@Beta HttpRequest signPutBlob(String container, Blob blob, long timeInSeconds)
timeInSeconds - validity time in seconds for the generated requestBlobBuilder#forSigning, 
signPutBlob(java.lang.String, org.jclouds.blobstore.domain.Blob)Copyright © 2009-2013 jclouds. All Rights Reserved.