org.jclouds.hpcloud.objectstorage.blobstore
Class HPCloudObjectStorageBlobRequestSigner
java.lang.Object
org.jclouds.hpcloud.objectstorage.blobstore.HPCloudObjectStorageBlobRequestSigner
- All Implemented Interfaces:
- org.jclouds.blobstore.BlobRequestSigner
@Singleton
public class HPCloudObjectStorageBlobRequestSigner
- extends Object
- implements org.jclouds.blobstore.BlobRequestSigner
Signer for HP's variant of temporary signed URLs. They prefix the signature with the tenant id.
|
Constructor Summary |
HPCloudObjectStorageBlobRequestSigner(com.google.common.base.Function<org.jclouds.reflect.Invocation,org.jclouds.http.HttpRequest> processor,
org.jclouds.openstack.swift.blobstore.functions.BlobToObject blobToObject,
org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions,
org.jclouds.crypto.Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<org.jclouds.openstack.keystone.v2_0.domain.Access> access,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HPCloudObjectStorageBlobRequestSigner
@Inject
public HPCloudObjectStorageBlobRequestSigner(com.google.common.base.Function<org.jclouds.reflect.Invocation,org.jclouds.http.HttpRequest> processor,
org.jclouds.openstack.swift.blobstore.functions.BlobToObject blobToObject,
org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions,
org.jclouds.crypto.Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<org.jclouds.openstack.keystone.v2_0.domain.Access> access,
com.google.common.base.Supplier<org.jclouds.domain.Credentials> creds)
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
signGetBlob
public org.jclouds.http.HttpRequest signGetBlob(String container,
String name)
- Specified by:
signGetBlob in interface org.jclouds.blobstore.BlobRequestSigner
signGetBlob
public org.jclouds.http.HttpRequest signGetBlob(String container,
String name,
long timeInSeconds)
- Specified by:
signGetBlob in interface org.jclouds.blobstore.BlobRequestSigner
signGetBlob
public org.jclouds.http.HttpRequest signGetBlob(String container,
String name,
org.jclouds.blobstore.options.GetOptions options)
- Specified by:
signGetBlob in interface org.jclouds.blobstore.BlobRequestSigner
signPutBlob
public org.jclouds.http.HttpRequest signPutBlob(String container,
org.jclouds.blobstore.domain.Blob blob)
- Specified by:
signPutBlob in interface org.jclouds.blobstore.BlobRequestSigner
signPutBlob
public org.jclouds.http.HttpRequest signPutBlob(String container,
org.jclouds.blobstore.domain.Blob blob,
long timeInSeconds)
- Specified by:
signPutBlob in interface org.jclouds.blobstore.BlobRequestSigner
signRemoveBlob
public org.jclouds.http.HttpRequest signRemoveBlob(String container,
String name)
- Specified by:
signRemoveBlob in interface org.jclouds.blobstore.BlobRequestSigner
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.