org.jclouds.blobstore.internal
Class RequestSigningUnsupported
java.lang.Object
org.jclouds.blobstore.internal.RequestSigningUnsupported
- All Implemented Interfaces:
- BlobRequestSigner
@Singleton
public class RequestSigningUnsupported
- extends Object
- implements BlobRequestSigner
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestSigningUnsupported
public RequestSigningUnsupported()
signGetBlob
public HttpRequest signGetBlob(String container,
String name)
- Description copied from interface:
BlobRequestSigner
- gets a signed request, including headers as necessary, to access a blob from an external
client.
- Specified by:
signGetBlob in interface BlobRequestSigner
- Parameters:
container - container where the blob resides
signPutBlob
public HttpRequest signPutBlob(String container,
Blob blob)
- Description copied from interface:
BlobRequestSigner
- gets a signed request, including headers as necessary, to upload a blob from an external
client.
Blob blob = context.getBlobStore.newBlob();
blob.getMetadata().setName("name");
blob.setPayload(new PhantomPayload(length, md5));
blob.getPayload().setContentType("text/plain");
- Specified by:
signPutBlob in interface BlobRequestSigner
- Parameters:
container - container where the blob residesblob - what to upload- See Also:
PhantomPayload
signRemoveBlob
public HttpRequest signRemoveBlob(String container,
String name)
- Description copied from interface:
BlobRequestSigner
- gets a signed request, including headers as necessary, to delete a blob from an external
client.
- Specified by:
signRemoveBlob in interface BlobRequestSigner
- Parameters:
container - container where the blob resides
Copyright © 2009-2011 jclouds. All Rights Reserved.