Class GoogleCloudStorageBlobRequestSigner
java.lang.Object
org.jclouds.googlecloudstorage.blobstore.GoogleCloudStorageBlobRequestSigner
- All Implemented Interfaces:
 BlobRequestSigner
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGoogleCloudStorageBlobRequestSigner(com.google.common.base.Supplier<Credentials> creds, com.google.common.base.Supplier<PrivateKey> privateKey, jakarta.inject.Provider<Long> timestamp, HttpUtils utils)  - 
Method Summary
Modifier and TypeMethodDescriptionsignGetBlob(String container, String name) gets a signed request, including headers as necessary, to access a blob from an external client.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 timesignGetBlob(String container, String name, GetOptions options) signPutBlob(String container, Blob blob) gets a signed request, including headers as necessary, to upload a blob from an external client.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 
- 
Field Details
- 
signatureLog
 
 - 
 - 
Constructor Details
- 
GoogleCloudStorageBlobRequestSigner
@Inject protected GoogleCloudStorageBlobRequestSigner(com.google.common.base.Supplier<Credentials> creds, com.google.common.base.Supplier<PrivateKey> privateKey, jakarta.inject.Provider<Long> timestamp, HttpUtils utils)  
 - 
 - 
Method Details
- 
signGetBlob
Description copied from interface:BlobRequestSignergets a signed request, including headers as necessary, to access a blob from an external client.- Specified by:
 signGetBlobin interfaceBlobRequestSigner- Parameters:
 container- container where the blob resides
 - 
signGetBlob
Description copied from interface:BlobRequestSignergets a signed request, including headers as necessary, to allow access to a blob from an external client for a limited period of time- Specified by:
 signGetBlobin interfaceBlobRequestSigner- Parameters:
 timeInSeconds- validity time in seconds for the generated request- See Also:
 
 - 
signGetBlob
- Specified by:
 signGetBlobin interfaceBlobRequestSigner- Parameters:
 options-- See Also:
 
 - 
signPutBlob
Description copied from interface:BlobRequestSignergets a signed request, including headers as necessary, to upload a blob from an external client.Blob blob = context.getBlobStore.blobBuilder().name("name").forSigning().contentType("text/plain") .contentLength(length).build();- Specified by:
 signPutBlobin interfaceBlobRequestSigner- Parameters:
 container- container where the blob residesblob- what to upload- See Also:
 
 - 
signPutBlob
Description copied from interface:BlobRequestSignergets a signed request, including headers as necessary, to upload a blob from an external client for a limited period of time- Specified by:
 signPutBlobin interfaceBlobRequestSigner- Parameters:
 timeInSeconds- validity time in seconds for the generated request- See Also:
 
 
 -