程序包 | 说明 |
---|---|
com.sinacloud.scs.services.scs | |
com.sinacloud.scs.services.scs.internal | |
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
com.sinacloud.scs.services.scs.transfer |
Transfer management.
|
com.sinacloud.scs.services.scs.transfer.internal |
限定符和类型 | 方法和说明 |
---|---|
ObjectMetadata |
SCS.completeMultipartUpload(CompleteMultipartUploadRequest request)
Completes a multipart upload by assembling previously uploaded parts.
|
ObjectMetadata |
SCSClient.completeMultipartUpload(CompleteMultipartUploadRequest completeMultipartUploadRequest) |
ObjectMetadata |
SCS.getObject(GetObjectRequest getObjectRequest,
File destinationFile)
Gets the object metadata for the object stored
in SCS under the specified bucket and key,
and saves the object contents to the
specified file.
|
ObjectMetadata |
SCSClient.getObject(GetObjectRequest getObjectRequest,
File destinationFile) |
ObjectMetadata |
SCS.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified SCS object without
actually fetching the object itself.
|
ObjectMetadata |
SCSClient.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
SCS.getObjectMetadata(String bucketName,
String key)
Gets the metadata for the specified SCS object without
actually fetching the object itself.
|
ObjectMetadata |
SCSClient.getObjectMetadata(String bucketName,
String key) |
限定符和类型 | 方法和说明 |
---|---|
protected static void |
SCSClient.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from
the
ObjectMetadata object. |
PutObjectResult |
SCS.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to SCS under
the specified bucket and key name.
|
PutObjectResult |
SCSClient.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
void |
SCS.setObjectMetadata(String bucketName,
String key,
ObjectMetadata objectMetadata)
设置object metadata
|
void |
SCSClient.setObjectMetadata(String bucketName,
String key,
ObjectMetadata objectMetadata) |
限定符和类型 | 方法和说明 |
---|---|
SCSWebServiceResponse<ObjectMetadata> |
S3MetadataResponseHandler.handle(HttpResponse response) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AbstractS3ResponseHandler.populateObjectMetadata(HttpResponse response,
ObjectMetadata metadata)
Populates the specified S3ObjectMetadata object with all object metadata
pulled from the headers in the specified response.
|
限定符和类型 | 字段和说明 |
---|---|
ObjectMetadata |
InitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as
content type, content encoding, user metadata, etc.
|
限定符和类型 | 方法和说明 |
---|---|
ObjectMetadata |
PutObjectRelaxRequest.getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
ObjectMetadata |
PutObjectRequest.getMetadata()
Gets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Gets the optional object metadata to set for the new, copied object.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getObjectMetadata()
Returns the additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
ObjectMetadata |
S3Object.getObjectMetadata()
Gets the metadata stored by Amazon S3 for this object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
PutObjectRelaxRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
void |
PutObjectRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object.
|
void |
InitiateMultipartUploadRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
void |
S3Object.setObjectMetadata(ObjectMetadata metadata)
Sets the object metadata for this object.
|
PutObjectRelaxRequest |
PutObjectRelaxRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Amazon S3 how to handle the
uploaded data (e.g. custom user metadata, hooks for specifying content
type, etc.).
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such
as content type, content encoding, user metadata, etc.
|
构造器和说明 |
---|
InitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata)
Constructs a request to initiate a new multipart upload in the specified
bucket, stored by the specified key, and with the additional specified
object metadata.
|
PutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Constructs a new
PutObjectRequest object to upload a stream of data to
the specified bucket and key. |
限定符和类型 | 方法和说明 |
---|---|
ObjectMetadata |
Download.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
限定符和类型 | 方法和说明 |
---|---|
void |
ObjectMetadataProvider.provideObjectMetadata(File file,
ObjectMetadata metadata) |
Upload |
TransferManager.upload(String bucketName,
String key,
InputStream input,
ObjectMetadata objectMetadata)
Schedules a new transfer to upload data to Amazon S3.
|
限定符和类型 | 方法和说明 |
---|---|
ObjectMetadata |
DownloadImpl.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Copyright © 2016. All rights reserved.