public class

S3FileStorageService

extends Object
implements FileStorageService
java.lang.Object
   ↳ com.modus.mule.modules.as2.filestorage.s3.S3FileStorageService

Summary

Fields
private String awsAccessKey
private String awsSecretKey
private String bucketName
private CloseableHttpAsyncClient httpAsyncClient
private CloseableHttpClient httpClient
private static final Logger logger
Public Constructors
S3FileStorageService(String awsAccessKey, String awsSecretKey, String bucketName)
Public Methods
void store(byte[] file, OnUploadCompleteCallback onUploadCompleteCallback)
String store(byte[] file)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.modus.mule.modules.as2.filestorage.FileStorageService

Fields

private String awsAccessKey

private String awsSecretKey

private String bucketName

private CloseableHttpAsyncClient httpAsyncClient

private CloseableHttpClient httpClient

private static final Logger logger

Public Constructors

public S3FileStorageService (String awsAccessKey, String awsSecretKey, String bucketName)

Parameters
awsAccessKey
awsSecretKey
bucketName

Public Methods

public void store (byte[] file, OnUploadCompleteCallback onUploadCompleteCallback)

Parameters
file
onUploadCompleteCallback

public String store (byte[] file)

Parameters
file
Throws
Exception