org.jclouds.s3.blobstore
Class S3BlobRequestSigner<T extends S3AsyncClient>

java.lang.Object
  extended by org.jclouds.s3.blobstore.S3BlobRequestSigner<T>
All Implemented Interfaces:
org.jclouds.blobstore.BlobRequestSigner

@Singleton
public class S3BlobRequestSigner<T extends S3AsyncClient>
extends Object
implements org.jclouds.blobstore.BlobRequestSigner


Field Summary
protected  org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions
           
protected  BlobToObject blobToObject
           
protected  com.google.common.reflect.Invokable<?,?> createMethod
           
protected  com.google.common.reflect.Invokable<?,?> deleteMethod
           
protected  com.google.common.reflect.Invokable<?,?> getMethod
           
protected  org.jclouds.rest.internal.RestAnnotationProcessor processor
           
 
Constructor Summary
S3BlobRequestSigner(org.jclouds.rest.internal.RestAnnotationProcessor processor, BlobToObject blobToObject, org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions, Class<T> interfaceClass)
           
 
Method Summary
 org.jclouds.http.HttpRequest signGetBlob(String container, String name)
           
 org.jclouds.http.HttpRequest signGetBlob(String container, String name, org.jclouds.blobstore.options.GetOptions options)
           
 org.jclouds.http.HttpRequest signGetBlob(String container, String name, long timeInSeconds)
           
 org.jclouds.http.HttpRequest signPutBlob(String container, org.jclouds.blobstore.domain.Blob blob)
           
 org.jclouds.http.HttpRequest signPutBlob(String container, org.jclouds.blobstore.domain.Blob blob, long timeInSeconds)
           
 org.jclouds.http.HttpRequest signRemoveBlob(String container, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processor

protected final org.jclouds.rest.internal.RestAnnotationProcessor processor

blobToObject

protected final BlobToObject blobToObject

blob2HttpGetOptions

protected final org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions

getMethod

protected final com.google.common.reflect.Invokable<?,?> getMethod

deleteMethod

protected final com.google.common.reflect.Invokable<?,?> deleteMethod

createMethod

protected final com.google.common.reflect.Invokable<?,?> createMethod
Constructor Detail

S3BlobRequestSigner

@Inject
public S3BlobRequestSigner(org.jclouds.rest.internal.RestAnnotationProcessor processor,
                                  BlobToObject blobToObject,
                                  org.jclouds.blobstore.functions.BlobToHttpGetOptions blob2HttpGetOptions,
                                  Class<T> interfaceClass)
                    throws SecurityException,
                           NoSuchMethodException
Throws:
SecurityException
NoSuchMethodException
Method Detail

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

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

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.