Package com.adaptris.aws2.s3
Class TransferOperation
java.lang.Object
com.adaptris.aws2.s3.S3OperationImpl
com.adaptris.aws2.s3.ObjectOperationImpl
com.adaptris.aws2.s3.TransferOperation
- All Implemented Interfaces:
S3Operation,ComponentLifecycleExtension
- Direct Known Subclasses:
DownloadOperation,S3GetOperation,UploadOperation
Abstract base class for S3 Upload/Download Operations.
-
Field Summary
Fields inherited from class com.adaptris.aws2.s3.S3OperationImpl
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<MetadataElement>filterUserMetadata(Map<String, String> userMetadata) voidFilter either S3 object user-metadata or AdaptrisMessage metadata (depending on the operation type).<T extends TransferOperation>
TMethods inherited from class com.adaptris.aws2.s3.ObjectOperationImpl
getObjectName, prepare, s3ObjectKey, setObjectName, withObjectNameMethods inherited from class com.adaptris.aws2.s3.S3OperationImpl
getBucket, s3Bucket, setBucket, withBucketMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.aws2.s3.S3Operation
execute
-
Constructor Details
-
TransferOperation
public TransferOperation()
-
-
Method Details
-
getUserMetadataFilter
-
setUserMetadataFilter
Filter either S3 object user-metadata or AdaptrisMessage metadata (depending on the operation type).Note that user-metadata for an object is limited by the HTTP request header limit. All HTTP headers included in a request (including user metadata headers and other standard HTTP headers) must be less than 8KB.
- Parameters:
mf- the metadata filter; if not specified defaults toRemoveAllMetadataFilter.
-
withUserMetadataFilter
-
filterUserMetadata
-
filterMetadata
-