org.jclouds.openstack.swift.blobstore
Class SwiftBlobSigner<T extends CommonSwiftAsyncClient>
java.lang.Object
org.jclouds.openstack.swift.blobstore.SwiftBlobSigner<T>
- All Implemented Interfaces:
- org.jclouds.blobstore.BlobRequestSigner
@Singleton
public class SwiftBlobSigner<T extends CommonSwiftAsyncClient>
- extends Object
- implements org.jclouds.blobstore.BlobRequestSigner
- Author:
- Adrian Cole
|
Constructor Summary |
protected |
SwiftBlobSigner(BlobToObject blobToObject,
org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions,
org.jclouds.crypto.Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<String> temporaryUrlKeySupplier,
com.google.common.base.Function<org.jclouds.reflect.Invocation,org.jclouds.http.HttpRequest> processor,
Class<T> ownerType)
create a signer for this subtype of swift |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwiftBlobSigner
@Inject
protected SwiftBlobSigner(BlobToObject blobToObject,
org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions,
org.jclouds.crypto.Crypto crypto,
com.google.inject.Provider<Long> unixEpochTimestampProvider,
com.google.common.base.Supplier<String> temporaryUrlKeySupplier,
com.google.common.base.Function<org.jclouds.reflect.Invocation,org.jclouds.http.HttpRequest> processor,
Class<T> ownerType)
throws SecurityException,
NoSuchMethodException
- create a signer for this subtype of swift
- Parameters:
processor - bound to the current subclass of CommonSwiftAsyncClient
- 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-2013 jclouds. All Rights Reserved.