public class S3StorageService extends CloudStorageService
| Constructor and Description |
|---|
S3StorageService() |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.services.s3.AmazonS3Client |
getClient() |
String |
getSignedUploadUrl(String bucket,
String fileKey,
String contentType,
Map headers) |
void |
uploadFile(File file,
String bucket,
String fileKey,
boolean isPublic) |
void |
uploadFile(File file,
String bucket,
String fileKey,
boolean isPublic,
String contentType,
Map<String,String> headers) |
instance, load, loadpublic S3StorageService()
public void uploadFile(File file, String bucket, String fileKey, boolean isPublic)
uploadFile in class CloudStorageServicepublic void uploadFile(File file, String bucket, String fileKey, boolean isPublic, String contentType, Map<String,String> headers)
uploadFile in class CloudStorageServicepublic String getSignedUploadUrl(String bucket, String fileKey, String contentType, Map headers)
getSignedUploadUrl in class CloudStorageServicepublic com.amazonaws.services.s3.AmazonS3Client getClient()
Copyright © 2016. All rights reserved.