Package org.jclouds.aws.s3.blobstore
Class AWSS3BlobRequestSignerV4
java.lang.Object
org.jclouds.s3.blobstore.S3BlobRequestSigner<AWSS3Client>
org.jclouds.aws.s3.blobstore.AWSS3BlobRequestSignerV4
- All Implemented Interfaces:
BlobRequestSigner
-
Field Summary
Fields inherited from class org.jclouds.s3.blobstore.S3BlobRequestSigner
blob2HttpGetOptions, blobToObject, createMethod, deleteMethod, getMethod, processor
-
Constructor Summary
ConstructorsConstructorDescriptionAWSS3BlobRequestSignerV4
(RestAnnotationProcessor processor, BlobToObject blobToObject, BlobToHttpGetOptions blob2HttpGetOptions, Class<AWSS3Client> interfaceClass, RequestAuthorizeSignature authSigner) -
Method Summary
Modifier and TypeMethodDescriptionsignGetBlob
(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 timesignPutBlob
(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 timeMethods inherited from class org.jclouds.s3.blobstore.S3BlobRequestSigner
signGetBlob, signGetBlob, signPutBlob
-
Constructor Details
-
AWSS3BlobRequestSignerV4
@Inject public AWSS3BlobRequestSignerV4(RestAnnotationProcessor processor, BlobToObject blobToObject, BlobToHttpGetOptions blob2HttpGetOptions, Class<AWSS3Client> interfaceClass, RequestAuthorizeSignature authSigner) throws SecurityException, NoSuchMethodException
-
-
Method Details
-
signGetBlob
Description copied from interface:BlobRequestSigner
gets 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:
signGetBlob
in interfaceBlobRequestSigner
- Overrides:
signGetBlob
in classS3BlobRequestSigner<AWSS3Client>
- Parameters:
timeInSeconds
- validity time in seconds for the generated request- See Also:
-
signPutBlob
Description copied from interface:BlobRequestSigner
gets a signed request, including headers as necessary, to upload a blob from an external client for a limited period of time- Specified by:
signPutBlob
in interfaceBlobRequestSigner
- Overrides:
signPutBlob
in classS3BlobRequestSigner<AWSS3Client>
- Parameters:
timeInSeconds
- validity time in seconds for the generated request- See Also:
-