Package | Description |
---|---|
org.jets3t.apps.cockpit |
Provides Cockpit, a graphical Java application for viewing and managing the contents of an Amazon S3 account.
|
org.jets3t.apps.cockpit.gui |
Provides the main GUI components (dialogs and panels) for Cockpit.
|
org.jets3t.apps.cockpitlite |
Provides CockpitLite, a graphical Java application for viewing and managing the contents
of an Amazon S3 account, where the S3 account is not owned by the application's user
directly but is made available via the Gatekeeper servlet.
|
org.jets3t.apps.uploader |
Provides the Uploader application, a simple wizard-based application that S3 account holders
(Service Providers) may provide to clients to allow them to upload files to S3 without requiring
access to the Service Provider's S3 credentials.
|
org.jets3t.service |
Provides the main S3 Service interface, on which all JetS3t REST/HTTP or SOAP
implementations are based, and utilites applicable for all services.
|
org.jets3t.service.impl.rest.httpclient |
Provides a REST/HTTP S3 Service implementation based on the
Apache HttpClient library - this
implementation is the most reliable and efficient implementation provided with JetS3t.
|
org.jets3t.service.multithread |
A multi-threading utility that manages multiple S3 interactions at once by wrapping an S3Service
implementation and running this service with multiple threads.
|
org.jets3t.servlets.gatekeeper |
Provides the Gatekeeper servlet application, a server-side authorization
service that acts as a Gatekeeper server for S3 operations.
|
org.jets3t.servlets.gatekeeper.impl |
Implementations of interfaces used by the Gatekeeper servlet to do its work - these implementation
classes can be used as-is, but it is more likely they will be used as a starting-point for
Service Providers who will extend them to perform exactly as needed in their authorization
scenarios.
|
Modifier and Type | Method and Description |
---|---|
protected RestS3Service |
Cockpit.getRestS3Service(ProviderCredentials credentials) |
Constructor and Description |
---|
Cockpit(JFrame ownerFrame)
Constructor to run this application in a stand-alone window.
|
Modifier and Type | Method and Description |
---|---|
protected StorageService |
StartupDialog.getStorageService() |
Constructor and Description |
---|
CockpitLite(JFrame ownerFrame,
Properties standAloneArgumentProperties)
Constructor to run this application in a stand-alone window.
|
Constructor and Description |
---|
Uploader(JFrame ownerFrame,
Properties standAloneArgumentProperties)
Constructor to run this application in a stand-alone window.
|
Modifier and Type | Method and Description |
---|---|
static String |
S3Service.buildPostForm(String bucketName,
String key)
Generates an unauthenticated HTML POST form that can be used to
upload files or data to S3 from a standard web browser.
|
static String |
S3Service.buildPostForm(String bucketName,
String key,
ProviderCredentials credentials,
Date expiration,
String[] conditions,
String[] inputFields,
String textInput,
boolean isSecureHttp)
Generates an HTML POST form that can be used to upload files or data to
S3 from a standard web browser.
|
static String |
S3Service.buildPostForm(String bucketName,
String key,
ProviderCredentials credentials,
Date expiration,
String[] conditions,
String[] inputFields,
String textInput,
boolean isSecureHttp,
boolean usePathStyleUrl,
String submitButtonName)
Generates an HTML POST form that can be used to upload files or data to
S3 from a standard web browser.
|
Map<String,Object> |
S3Service.copyVersionedObject(String versionId,
String sourceBucketName,
String sourceObjectKey,
String destinationBucketName,
S3Object destinationObject,
boolean replaceMetadata)
Copy an object with a specific version within your S3 account.
|
Map<String,Object> |
S3Service.copyVersionedObject(String versionId,
String sourceBucketName,
String sourceObjectKey,
String destinationBucketName,
S3Object destinationObject,
boolean replaceMetadata,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags)
Copy an object with a specific version within your S3 account.
|
S3Bucket |
S3Service.createBucket(S3Bucket bucket)
Creates a bucket in S3 based on the provided bucket object, with the Access Control List
settings and location properties of the bucket object (if any).
|
S3Bucket |
S3Service.createBucket(String bucketName) |
S3Bucket |
S3Service.createBucket(String bucketName,
String location)
Creates a bucket in a specific location, without checking whether the bucket already
exists.
|
S3Bucket |
S3Service.createBucket(String bucketName,
String location,
AccessControlList acl)
Creates a bucket in a specific location, without checking whether the bucket already
exists.
|
String |
S3Service.createSignedDeleteUrl(String bucketName,
String objectKey,
ProviderCredentials credentials,
Date expiryTime)
Deprecated.
0.7.4
|
String |
S3Service.createSignedGetUrl(String bucketName,
String objectKey,
Date expiryTime)
Generates a signed GET URL.
|
String |
S3Service.createSignedGetUrl(String bucketName,
String objectKey,
ProviderCredentials credentials,
Date expiryTime)
Deprecated.
0.7.4
|
String |
S3Service.createSignedHeadUrl(String bucketName,
String objectKey,
Date expiryTime)
Generates a signed HEAD URL.
|
String |
S3Service.createSignedPutUrl(String bucketName,
String objectKey,
Map<String,Object> headersMap,
ProviderCredentials credentials,
Date expiryTime)
Deprecated.
0.7.4
|
String |
S3Service.createSignedUrl(String method,
String bucketName,
String objectKey,
String specialParamName,
Map<String,Object> headersMap,
ProviderCredentials credentials,
long secondsSinceEpoch)
Deprecated.
0.7.4
|
void |
S3Service.deleteBucket(S3Bucket bucket)
Deprecated.
0.8.0
This method cannot be performed by anonymous services. |
void |
S3Service.deleteBucketPolicy(String bucketName)
Delete the acces control policy document for a bucket.
|
protected abstract void |
S3Service.deleteBucketPolicyImpl(String bucketName) |
void |
S3Service.deleteLifecycleConfig(String bucketName)
Delete a bucket's lifecycle configuration; removes the effect of any previously-applied
configuration.
|
abstract void |
S3Service.deleteLifecycleConfigImpl(String bucketName) |
MultipleDeleteResult |
S3Service.deleteMultipleObjects(String bucketName,
ObjectKeyAndVersion[] objectNameAndVersions)
Delete multiple objects in a bucket with a single request, with all details in the
(non-"quiet") result.
|
MultipleDeleteResult |
S3Service.deleteMultipleObjects(String bucketName,
ObjectKeyAndVersion[] objectNameAndVersions,
boolean isQuiet)
Delete multiple objects in a bucket with a single request.
|
MultipleDeleteResult |
S3Service.deleteMultipleObjects(String bucketName,
String[] keys)
Delete multiple objects in a bucket with a single request, with all details in the
(non-"quiet") result.
|
MultipleDeleteResult |
S3Service.deleteMultipleObjectsWithMFA(String bucketName,
ObjectKeyAndVersion[] objectNameAndVersions,
String multiFactorSerialNumber,
String multiFactorAuthCode,
boolean isQuiet)
Delete multiple objects in a bucket with a single request, with optional mult-factor
authentication credentials to permit delete of objects that require it.
|
abstract MultipleDeleteResult |
S3Service.deleteMultipleObjectsWithMFAImpl(String bucketName,
ObjectKeyAndVersion[] objectNameAndVersions,
String multiFactorSerialNumber,
String multiFactorAuthCode,
boolean isQuiet) |
void |
S3Service.deleteObject(S3Bucket bucket,
String objectKey)
Deletes an object from a bucket in S3.
|
void |
S3Service.deleteVersionedObject(String versionId,
String bucketName,
String objectKey)
Deletes a object version from a bucket in S3.
|
void |
S3Service.deleteVersionedObjectWithMFA(String versionId,
String multiFactorSerialNumber,
String multiFactorAuthCode,
String bucketName,
String objectKey)
Deletes a object version from a bucket in S3.
|
void |
S3Service.deleteWebsiteConfig(String bucketName)
Delete a bucket's website configuration; removes the effect of any
previously-applied configuration.
|
void |
S3Service.disableMFAForVersionedBucket(String bucketName,
String multiFactorSerialNumber,
String multiFactorAuthCode)
Disable the multi-factor authentication (MFA) feature for a
bucket that already has S3 object versioning and MFA enabled.
|
void |
S3Service.enableBucketVersioning(String bucketName)
Enable the S3 object versioning feature for a bucket.
|
void |
S3Service.enableBucketVersioningAndMFA(String bucketName)
Enable the S3 object versioning feature and also enable the
multi-factor authentication (MFA) feature for a bucket which
does not yet have MFA enabled.
|
void |
S3Service.enableBucketVersioningWithMFA(String bucketName,
String multiFactorSerialNumber,
String multiFactorAuthCode)
Enable the S3 object versioning feature for a bucket that
already has multi-factor authentication (MFA) enabled.
|
S3Bucket |
S3Service.getBucket(String bucketName) |
AccessControlList |
S3Service.getBucketAcl(S3Bucket bucket)
Retrieves the access control settings of a bucket.
|
String |
S3Service.getBucketLocation(String bucketName)
Retrieves the location of a bucket.
|
S3BucketLoggingStatus |
S3Service.getBucketLoggingStatus(String bucketName)
Retrieves the logging status settings of a bucket.
|
String |
S3Service.getBucketPolicy(String bucketName)
Retrieve the JSON access control policy document for a bucket,
or null if the bucket does not have a policy.
|
protected abstract String |
S3Service.getBucketPolicyImpl(String bucketName) |
S3BucketVersioningStatus |
S3Service.getBucketVersioningStatus(String bucketName)
Return versioning status of bucket, which reports on whether the given bucket
has S3 object versioning enabled and whether multi-factor authentication is
required to delete versions.
|
protected abstract S3BucketVersioningStatus |
S3Service.getBucketVersioningStatusImpl(String bucketName) |
LifecycleConfig |
S3Service.getLifecycleConfig(String bucketName) |
abstract LifecycleConfig |
S3Service.getLifecycleConfigImpl(String bucketName) |
NotificationConfig |
S3Service.getNotificationConfig(String bucketName) |
protected abstract NotificationConfig |
S3Service.getNotificationConfigImpl(String bucketName) |
S3Object |
S3Service.getObject(S3Bucket bucket,
String objectKey)
Deprecated.
0.8.0
This method can be performed by anonymous services. Anonymous services can get a publicly-readable object. Important: It is the caller's responsibility to close the object's data input stream. The data stream should be consumed and closed as soon as is practical as network connections may be held open until the streams are closed. Excessive unclosed streams can lead to connection starvation. |
S3Object |
S3Service.getObject(S3Bucket bucket,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd)
Returns an object representing the details and data of an item in S3 that meets any given preconditions.
|
S3Object |
S3Service.getObject(String bucketName,
String objectKey) |
S3Object |
S3Service.getObject(String bucketName,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd) |
AccessControlList |
S3Service.getObjectAcl(S3Bucket bucket,
String objectKey)
Retrieves the access control settings of an object.
|
S3Object |
S3Service.getObjectDetails(S3Bucket bucket,
String objectKey)
Deprecated.
0.8.0
This method can be performed by anonymous services. Anonymous services can get a publicly-readable object's details. |
S3Object |
S3Service.getObjectDetails(S3Bucket bucket,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags)
Returns an object representing the details of an item in S3 that meets any given preconditions.
|
BaseVersionOrDeleteMarker[] |
S3Service.getObjectVersions(String bucketName,
String objectKey)
Return version information for a specific object.
|
S3Bucket |
S3Service.getOrCreateBucket(String bucketName) |
S3Bucket |
S3Service.getOrCreateBucket(String bucketName,
String location)
Returns a bucket in your S3 account, and creates the bucket in the given S3 location
if it does not yet exist.
|
S3Object |
S3Service.getVersionedObject(String versionId,
S3Bucket bucket,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd)
Returns an object representing the details and data of a versioned object in S3 that
also meets any given preconditions.
|
S3Object |
S3Service.getVersionedObject(String versionId,
String bucketName,
String objectKey)
Returns an object representing the details and data of an item in S3 with a specific
given version, without applying any preconditions.
|
S3Object |
S3Service.getVersionedObject(String versionId,
String bucketName,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd)
Returns an object representing the details and data of a versioned object in S3 that
also meets any given preconditions.
|
AccessControlList |
S3Service.getVersionedObjectAcl(String versionId,
S3Bucket bucket,
String objectKey)
Retrieves the access control settings of a versioned object.
|
AccessControlList |
S3Service.getVersionedObjectAcl(String versionId,
String bucketName,
String objectKey)
Retrieves the access control settings of a versioned object.
|
S3Object |
S3Service.getVersionedObjectDetails(String versionId,
S3Bucket bucket,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags)
Returns an object representing the details of a versioned object in S3 that also
meets any given preconditions.
|
S3Object |
S3Service.getVersionedObjectDetails(String versionId,
String bucketName,
String objectKey)
Returns an object representing the details of an item in S3 with a specific given version,
without the object's data and without applying any preconditions.
|
S3Object |
S3Service.getVersionedObjectDetails(String versionId,
String bucketName,
String objectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags)
Returns an object representing the details of a versioned object in S3 that also meets
any given preconditions.
|
S3WebsiteConfig |
S3Service.getWebsiteConfig(String bucketName) |
boolean |
S3Service.isRequesterPaysBucket(String bucketName)
Return true if the given bucket is configured as a
Requester Pays bucket, in which case the requester must supply their own AWS
credentials when accessing objects in the bucket, and will be responsible for request
and data transfer fees.
|
protected abstract boolean |
S3Service.isRequesterPaysBucketImpl(String bucketName) |
S3Bucket[] |
S3Service.listAllBuckets() |
S3Object[] |
S3Service.listObjects(S3Bucket bucket)
Deprecated.
0.8.0
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up This method can be performed by anonymous services. Anonymous services can only list the objects in a publicly-readable bucket. |
S3Object[] |
S3Service.listObjects(S3Bucket bucket,
String prefix,
String delimiter)
Deprecated.
0.8.0
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up This method can be performed by anonymous services. Anonymous services can only list the objects in a publicly-readable bucket.
NOTE: If you supply a delimiter value that could cause CommonPrefixes
("subdirectory paths") to be included in the results from S3, use the
|
S3Object[] |
S3Service.listObjects(S3Bucket bucket,
String prefix,
String delimiter,
long maxListingLength)
Deprecated.
0.8.0
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up This method can be performed by anonymous services. Anonymous services can list the contents of a publicly-readable bucket.
NOTE: If you supply a delimiter value that could cause CommonPrefixes
("subdirectory paths") to be included in the results from S3, use the
|
S3Object[] |
S3Service.listObjects(String bucketName) |
S3Object[] |
S3Service.listObjects(String bucketName,
String prefix,
String delimiter) |
S3Object[] |
S3Service.listObjects(String bucketName,
String prefix,
String delimiter,
long maxListingLength) |
BaseVersionOrDeleteMarker[] |
S3Service.listVersionedObjects(String bucketName,
String prefix,
String delimiter)
Lists versioning information in a versioned bucket where the objects
match a given constraints.
|
VersionOrDeleteMarkersChunk |
S3Service.listVersionedObjectsChunked(String bucketName,
String prefix,
String delimiter,
long maxListingLength,
String priorLastKey,
String priorLastVersionId,
boolean completeListing)
Lists information for a versioned bucket where the items match given constarints.
|
protected abstract VersionOrDeleteMarkersChunk |
S3Service.listVersionedObjectsChunkedImpl(String bucketName,
String prefix,
String delimiter,
long maxListingLength,
String priorLastKey,
String priorLastVersion,
boolean completeListing)
Lists version or delete markers in a versioned bucket, up to the maximum listing
length specified.
|
protected abstract BaseVersionOrDeleteMarker[] |
S3Service.listVersionedObjectsImpl(String bucketName,
String prefix,
String delimiter,
String keyMarker,
String versionMarker,
long maxListingLength) |
void |
S3Service.multipartAbortUpload(MultipartUpload upload)
Abort the given multipart upload process.
|
protected abstract void |
S3Service.multipartAbortUploadImpl(String uploadId,
String bucketName,
String objectKey) |
MultipartCompleted |
S3Service.multipartCompleteUpload(MultipartUpload upload)
Convenience method to complete a multipart upload by automatically finding
its parts.
|
MultipartCompleted |
S3Service.multipartCompleteUpload(MultipartUpload upload,
List<MultipartPart> parts)
Complete a multipart upload by combining all the given parts into
the final object.
|
protected abstract MultipartCompleted |
S3Service.multipartCompleteUploadImpl(String uploadId,
String bucketName,
String objectKey,
List<MultipartPart> parts) |
List<MultipartPart> |
S3Service.multipartListParts(MultipartUpload upload)
List the parts that have been uploaded for a given multipart upload.
|
protected abstract List<MultipartPart> |
S3Service.multipartListPartsImpl(String uploadId,
String bucketName,
String objectKey) |
List<MultipartUpload> |
S3Service.multipartListUploads(String bucketName)
List the multipart uploads that have been started within a bucket and
have not yet been completed or aborted.
|
List<MultipartUpload> |
S3Service.multipartListUploads(String bucketName,
String nextKeyMarker,
String nextUploadIdMarker,
Integer maxUploads) |
List<MultipartUpload> |
S3Service.multipartListUploads(String bucketName,
String prefix,
String delimiter,
String nextKeyMarker,
String nextUploadIdMarker,
Integer maxUploads)
List the multipart uploads that have been started within
a bucket and have not yet been completed or aborted.
|
MultipartUploadChunk |
S3Service.multipartListUploadsChunked(String bucketName,
String prefix,
String delimiter,
String keyMarker,
String uploadIdMarker,
Integer maxUploads,
boolean completeListing)
List all or a subset of the multipart uploads that have been started
within a bucket and have not yet been completed or aborted.
|
protected abstract MultipartUploadChunk |
S3Service.multipartListUploadsChunkedImpl(String bucketName,
String prefix,
String delimiter,
String keyMarker,
String uploadIdMarker,
Integer maxUploads,
boolean completeListing) |
MultipartUpload |
S3Service.multipartStartUpload(String bucketName,
S3Object object)
Start a multipart upload process for a given object; must be done before
individual parts can be uploaded.
|
MultipartUpload |
S3Service.multipartStartUpload(String bucketName,
String objectKey,
Map<String,Object> metadata)
Start a multipart upload process for a given object; must be done before
individual parts can be uploaded.
|
MultipartUpload |
S3Service.multipartStartUpload(String bucketName,
String objectKey,
Map<String,Object> metadata,
AccessControlList acl,
String storageClass)
Start a multipart upload process for a given object; must be done before
individual parts can be uploaded.
|
protected abstract MultipartUpload |
S3Service.multipartStartUploadImpl(String bucketName,
String objectKey,
Map<String,Object> metadata,
AccessControlList acl,
String storageClass,
String serverSideEncryptionAlgorithm) |
MultipartPart |
S3Service.multipartUploadPart(MultipartUpload upload,
Integer partNumber,
S3Object object)
Upload an individual part that will comprise a piece of a multipart upload object.
|
MultipartPart |
S3Service.multipartUploadPartCopy(MultipartUpload upload,
Integer partNumber,
String sourceBucketName,
String sourceObjectKey)
From an existing object, copy an individual part that will comprise a piece of a
multipart upload object.
|
MultipartPart |
S3Service.multipartUploadPartCopy(MultipartUpload upload,
Integer partNumber,
String sourceBucketName,
String sourceObjectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd,
String versionId)
From an existing object, copy an individual part that will comprise a piece of a
multipart upload object.
|
MultipartPart |
S3Service.multipartUploadPartCopy(MultipartUpload upload,
Integer partNumber,
String sourceBucketName,
String sourceObjectKey,
String versionId)
From an existing object, copy an individual part that will comprise a piece of a
multipart upload object.
|
protected abstract MultipartPart |
S3Service.multipartUploadPartCopyImpl(String uploadId,
String targetBucketName,
String targetObjectKey,
Integer partNumber,
String sourceBucketName,
String sourceObjectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd,
String versionId) |
protected abstract MultipartPart |
S3Service.multipartUploadPartImpl(String uploadId,
String bucketName,
Integer partNumber,
S3Object object) |
S3Object |
S3Service.putObject(S3Bucket bucket,
S3Object object)
Puts an object inside an existing bucket in S3, creating a new object or overwriting
an existing one with the same key.
|
S3Object |
S3Service.putObject(String bucketName,
S3Object object)
Puts an object inside an existing bucket in S3, creating a new object or overwriting
an existing one with the same key.
|
void |
S3Service.putObjectAcl(S3Bucket bucket,
S3Object object)
Applies access control settings to an object.
|
void |
S3Service.putObjectAcl(String bucketName,
S3Object object)
Applies access control settings to an object.
|
void |
S3Service.putVersionedObjectAcl(String versionId,
S3Bucket bucket,
S3Object object)
Applies access control settings to a versioned object.
|
void |
S3Service.putVersionedObjectAcl(String versionId,
String bucketName,
String objectKey,
AccessControlList acl)
Applies access control settings to a versioned object.
|
void |
S3Service.setBucketLoggingStatus(String bucketName,
S3BucketLoggingStatus status,
boolean updateTargetACLifRequired)
Applies logging settings to a bucket, optionally modifying the ACL permissions for the
logging target bucket to ensure log files can be written to it.
|
void |
S3Service.setBucketPolicy(String bucketName,
String policyDocument)
Apply a JSON access control policy document to a bucket.
|
protected abstract void |
S3Service.setBucketPolicyImpl(String bucketName,
String policyDocument) |
void |
S3Service.setLifecycleConfig(String bucketName,
LifecycleConfig config)
Apply a lifecycle configuration to a bucket
|
abstract void |
S3Service.setLifecycleConfigImpl(String bucketName,
LifecycleConfig config) |
void |
S3Service.setNotificationConfig(String bucketName,
NotificationConfig config)
Apply a notification configuration to a bucket.
|
protected abstract void |
S3Service.setNotificationConfigImpl(String bucketName,
NotificationConfig config) |
void |
S3Service.setRequesterPaysBucket(String bucketName,
boolean requesterPays)
Applies
request payment configuration settings to a bucket, setting the bucket to
be either Requester Pays or Bucket Owner pays.
|
protected abstract void |
S3Service.setRequesterPaysBucketImpl(String bucketName,
boolean requesterPays) |
void |
S3Service.setWebsiteConfig(String bucketName,
S3WebsiteConfig config)
Apply a website configuration to a bucket.
|
void |
S3Service.suspendBucketVersioning(String bucketName)
Suspend (disable) the S3 object versioning feature for a bucket.
|
void |
S3Service.suspendBucketVersioningWithMFA(String bucketName,
String multiFactorSerialNumber,
String multiFactorAuthCode)
Suspend (disable) the S3 object versioning feature for a bucket that
requires multi-factor authentication.
|
void |
S3Service.unsetNotificationConfig(String bucketName)
Unset (delete) a bucket's notification configuration; removes the effect of any
previously-applied configuration.
|
protected abstract void |
S3Service.updateBucketVersioningStatusImpl(String bucketName,
boolean enabled,
boolean multiFactorAuthDeleteEnabled,
String multiFactorSerialNumber,
String multiFactorAuthCode) |
Modifier and Type | Method and Description |
---|---|
protected void |
RestS3Service.deleteBucketPolicyImpl(String bucketName) |
void |
RestS3Service.deleteLifecycleConfigImpl(String bucketName) |
MultipleDeleteResult |
RestS3Service.deleteMultipleObjectsWithMFAImpl(String bucketName,
ObjectKeyAndVersion[] objectNameAndVersions,
String multiFactorSerialNumber,
String multiFactorAuthCode,
boolean isQuiet) |
protected String |
RestS3Service.getBucketLocationImpl(String bucketName) |
protected String |
RestS3Service.getBucketPolicyImpl(String bucketName) |
protected S3BucketVersioningStatus |
RestS3Service.getBucketVersioningStatusImpl(String bucketName) |
LifecycleConfig |
RestS3Service.getLifecycleConfigImpl(String bucketName) |
protected NotificationConfig |
RestS3Service.getNotificationConfigImpl(String bucketName) |
protected boolean |
RestS3Service.isRequesterPaysBucketImpl(String bucketName) |
protected VersionOrDeleteMarkersChunk |
RestS3Service.listVersionedObjectsChunkedImpl(String bucketName,
String prefix,
String delimiter,
long maxListingLength,
String priorLastKey,
String priorLastVersion,
boolean completeListing) |
protected BaseVersionOrDeleteMarker[] |
RestS3Service.listVersionedObjectsImpl(String bucketName,
String prefix,
String delimiter,
String keyMarker,
String versionMarker,
long maxListingLength) |
protected VersionOrDeleteMarkersChunk |
RestS3Service.listVersionedObjectsInternal(String bucketName,
String prefix,
String delimiter,
long maxListingLength,
boolean automaticallyMergeChunks,
String nextKeyMarker,
String nextVersionIdMarker) |
protected void |
RestS3Service.multipartAbortUploadImpl(String uploadId,
String bucketName,
String objectKey) |
protected MultipartCompleted |
RestS3Service.multipartCompleteUploadImpl(String uploadId,
String bucketName,
String objectKey,
List<MultipartPart> parts) |
protected List<MultipartPart> |
RestS3Service.multipartListPartsImpl(String uploadId,
String bucketName,
String objectKey) |
protected MultipartUploadChunk |
RestS3Service.multipartListUploadsChunkedImpl(String bucketName,
String prefix,
String delimiter,
String keyMarker,
String uploadIdMarker,
Integer maxUploads,
boolean autoMergeChunks) |
protected MultipartUpload |
RestS3Service.multipartStartUploadImpl(String bucketName,
String objectKey,
Map<String,Object> metadataProvided,
AccessControlList acl,
String storageClass) |
protected MultipartUpload |
RestS3Service.multipartStartUploadImpl(String bucketName,
String objectKey,
Map<String,Object> metadataProvided,
AccessControlList acl,
String storageClass,
String serverSideEncryptionAlgorithm) |
protected MultipartPart |
RestS3Service.multipartUploadPartCopyImpl(String uploadId,
String targetBucketName,
String targetObjectKey,
Integer partNumber,
String sourceBucketName,
String sourceObjectKey,
Calendar ifModifiedSince,
Calendar ifUnmodifiedSince,
String[] ifMatchTags,
String[] ifNoneMatchTags,
Long byteRangeStart,
Long byteRangeEnd,
String versionId) |
protected MultipartPart |
RestS3Service.multipartUploadPartImpl(String uploadId,
String bucketName,
Integer partNumber,
S3Object object) |
protected void |
RestS3Service.setBucketPolicyImpl(String bucketName,
String policyDocument) |
void |
RestS3Service.setLifecycleConfigImpl(String bucketName,
LifecycleConfig config) |
protected void |
RestS3Service.setNotificationConfigImpl(String bucketName,
NotificationConfig config) |
protected void |
RestS3Service.setRequesterPaysBucketImpl(String bucketName,
boolean requesterPays) |
protected org.apache.http.client.methods.HttpUriRequest |
RestS3Service.setupConnection(RestStorageService.HTTP_METHOD method,
String bucketName,
String objectKey,
Map<String,String> requestParameters)
Creates an
HttpUriRequest object to handle a particular connection method. |
protected void |
RestS3Service.updateBucketVersioningStatusImpl(String bucketName,
boolean enabled,
boolean multiFactorAuthDeleteEnabled,
String multiFactorSerialNumber,
String multiFactorAuthCode) |
Modifier and Type | Method and Description |
---|---|
Map[] |
S3ServiceSimpleMulti.copyObjects(String sourceBucketName,
String destinationBucketName,
String[] sourceObjectKeys,
S3Object[] destinationObjects,
boolean replaceMetadata)
Deprecated.
Copies multiple objects within or between buckets.
|
S3Bucket[] |
S3ServiceSimpleMulti.createBuckets(S3Bucket[] buckets)
Deprecated.
Creates multiple buckets.
|
void |
S3ServiceSimpleMulti.deleteObjects(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Deletes multiple objects
|
void |
S3ServiceSimpleMulti.deleteVersionsOfObject(String[] versionIds,
String bucketName,
String objectKey)
Deprecated.
Deletes multiple versions.
|
void |
S3ServiceSimpleMulti.deleteVersionsOfObjectWithMFA(String[] versionIds,
String multiFactorSerialNumber,
String multiFactorAuthCode,
String bucketName,
String objectKey)
Deprecated.
Deletes multiple versions.
|
boolean |
S3ServiceMulti.downloadObjects(DownloadPackage[] downloadPackages)
Deprecated.
A convenience method to download multiple objects from S3 to pre-existing
output streams, which is particularly useful for downloading objects to files.
|
void |
S3ServiceSimpleMulti.downloadObjects(S3Bucket bucket,
DownloadPackage[] downloadPackages)
Deprecated.
A convenience method to download multiple objects from S3 to pre-existing output streams, which
is particularly useful for downloading objects to files.
|
boolean |
S3ServiceMulti.downloadObjects(S3Bucket bucket,
DownloadPackage[] downloadPackages)
Deprecated.
A convenience method to download multiple objects from S3 to pre-existing
output streams, which is particularly useful for downloading objects to files.
|
S3Object[] |
S3ServiceSimpleMulti.getObjectACLs(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Retrieves Access Control List (ACL) settings for multiple objects.
|
S3Object[] |
S3ServiceSimpleMulti.getObjects(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Retrieves multiple objects (including details and data).
|
S3Object[] |
S3ServiceSimpleMulti.getObjects(S3Bucket bucket,
String[] objectKeys)
Deprecated.
Retrieves multiple objects (including details and data).
|
S3Object[] |
S3ServiceSimpleMulti.getObjectsHeads(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Retrieves details of multiple objects (details only, no data)
|
S3Object[] |
S3ServiceSimpleMulti.getObjectsHeads(S3Bucket bucket,
String[] objectKeys)
Deprecated.
Retrieves details of multiple objects (details only, no data)
|
S3Object[] |
S3ServiceSimpleMulti.putACLs(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Updates/sets Access Control List (ACL) settings for multiple objects.
|
S3Object[] |
S3ServiceSimpleMulti.putObjects(S3Bucket bucket,
S3Object[] objects)
Deprecated.
Creates/uploads multiple objects.
|
void |
S3ServiceMulti.shutdown()
Deprecated.
Make a best-possible effort to shutdown and clean up any resources used by this
service such as HTTP connections, connection pools, threads etc.
|
protected void |
S3ServiceSimpleMulti.throwError(S3ServiceEventAdaptor adaptor)
Deprecated.
Utility method to check an
S3ServiceEventAdaptor for the occurrence of an error, and if
one is present to throw it. |
Modifier and Type | Method and Description |
---|---|
abstract String |
UrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed DELETE URL for the signature request.
|
abstract String |
UrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for the signature request.
|
abstract String |
UrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for an ACL-based signature request.
|
abstract String |
UrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed HEAD URL for the signature request.
|
abstract String |
UrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed PUT URL for the signature request.
|
abstract String |
UrlSigner.signPutAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed PUT URL for an ACL-based signature request.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBucketLister.listObjects(GatekeeperMessage gatekeeperMessage,
ClientInformation clientInformation) |
String |
DefaultUrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signPutAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
protected void |
RenameToUuidUrlSigner.updateObject(SignatureRequest signatureRequest,
Properties messageProperties)
Overrides the implementation in DefaultUrlProvider to do everything that class does, but
also to rename objects based on the transaction ID.
|
protected void |
DefaultUrlSigner.updateObject(SignatureRequest signatureRequest,
Properties messageProperties)
Adds a metadata item containing the transaction ID to each object.
|
Copyright © 2006–2018. All rights reserved.