String[] ifNoneMatchTags) throws ServiceException MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return getObjectDetailsImpl(bucketName, objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, null);
String[] ifNoneMatchTags) throws ServiceException MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return getObjectDetailsImpl(bucketName, objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, null);
/** * 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. Versioned objects are only * available from buckets with versioning enabled, see {@link #enableBucketVersioning(String)}. * <p> * This method can be performed by anonymous services. Anonymous services * can get a publicly-readable object's details. * * @param versionId * object's version identifier * @param bucketName * the name of the versioned bucket containing the object. * @param objectKey * the key identifying the object. * @return * the object with the given key in S3, including only general details and metadata (not the data * input stream) * @throws S3ServiceException */ public S3Object getVersionedObjectDetails(String versionId, String bucketName, String objectKey) throws S3ServiceException { try { MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return (S3Object) getObjectDetailsImpl(bucketName, objectKey, null, null, null, null, versionId); } catch (ServiceException se) { throw new S3ServiceException(se); } }
/** * 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. Versioned objects are only * available from buckets with versioning enabled, see {@link #enableBucketVersioning(String)}. * <p> * This method can be performed by anonymous services. Anonymous services * can get a publicly-readable object's details. * * @param versionId * object's version identifier * @param bucketName * the name of the versioned bucket containing the object. * @param objectKey * the key identifying the object. * @return * the object with the given key in S3, including only general details and metadata (not the data * input stream) * @throws S3ServiceException */ public S3Object getVersionedObjectDetails(String versionId, String bucketName, String objectKey) throws S3ServiceException { try { MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return (S3Object) getObjectDetailsImpl(bucketName, objectKey, null, null, null, null, versionId); } catch (ServiceException se) { throw new S3ServiceException(se); } }
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return (S3Object) getObjectDetailsImpl(bucketName, objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, versionId);
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucketName, objectKey); return (S3Object) getObjectDetailsImpl(bucketName, objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, versionId);
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucket.getName(), objectKey); return (S3Object) getObjectDetailsImpl(bucket.getName(), objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, versionId);
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucket.getName(), objectKey); return (S3Object) getObjectDetailsImpl(bucket.getName(), objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, null);
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucket.getName(), objectKey); return (S3Object) getObjectDetailsImpl(bucket.getName(), objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, versionId);
MxDelegate.getInstance().registerStorageObjectHeadEvent(bucket.getName(), objectKey); return (S3Object) getObjectDetailsImpl(bucket.getName(), objectKey, ifModifiedSince, ifUnmodifiedSince, ifMatchTags, ifNoneMatchTags, null);