Package | Description |
---|---|
com.netease.cloud.services.nos | |
com.netease.cloud.services.nos.internal | |
com.netease.cloud.services.nos.model |
Classes modeling the various types represented by Nos.
|
com.netease.cloud.services.nos.transfer | |
com.netease.cloud.services.nos.transfer.internal |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
Nos.getObject(GetObjectRequest getObjectRequest,
File destinationFile)
Gets the object metadata for the object stored in NOS under the specified
bucket and key, and saves the object contents to the specified file.
|
ObjectMetadata |
NosClient.getObject(GetObjectRequest getObjectRequest,
File destinationFile) |
ObjectMetadata |
Nos.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest)
Gets the metadata for the specified object without actually fetching the
object itself.
|
ObjectMetadata |
NosClient.getObjectMetadata(GetObjectMetadataRequest getObjectMetadataRequest) |
ObjectMetadata |
Nos.getObjectMetadata(String bucketName,
String key)
Gets the metadata for the specified object without actually fetching the
object itself.
|
ObjectMetadata |
NosClient.getObjectMetadata(String bucketName,
String key) |
Modifier and Type | Method and Description |
---|---|
protected static void |
NosClient.populateRequestMetadata(Request<?> request,
ObjectMetadata metadata)
Populates the specified request object with the appropriate headers from the
ObjectMetadata object. |
PutObjectResult |
Nos.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to NOS under the
specified bucket and key name.
|
PutObjectResult |
NosClient.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
void |
Nos.putObjectMeta(String bucketName,
String key,
ObjectMetadata metadata) |
void |
NosClient.putObjectMeta(String bucketName,
String key,
ObjectMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
WebServiceResponse<ObjectMetadata> |
NosMetadataResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNosResponseHandler.populateObjectMetadata(HttpResponse response,
ObjectMetadata metadata)
Populates the specified NosObjectMetadata object with all object metadata
pulled from the headers in the specified response.
|
Modifier and Type | Field and Description |
---|---|
ObjectMetadata |
InitiateMultipartUploadRequest.objectMetadata
Additional information about the new object being created, such as
content type, content encoding, user metadata, etc.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
PutObjectRequest.getMetadata()
Gets the optional metadata instructing Nos how to handle the uploaded
data (e.g.
|
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 |
NOSObject.getObjectMetadata()
Gets the metadata stored by Nos for this object.
|
Modifier and Type | Method and Description |
---|---|
void |
PutObjectRequest.setMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Nos how to handle the uploaded
data (e.g.
|
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 |
NOSObject.setObjectMetadata(ObjectMetadata metadata)
Sets the object metadata for this object.
|
PutObjectRequest |
PutObjectRequest.withMetadata(ObjectMetadata metadata)
Sets the optional metadata instructing Nos how to handle the uploaded
data (e.g.
|
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.
|
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
Download.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Modifier and Type | Method and Description |
---|---|
Upload |
TransferManager.upload(String bucketName,
String key,
InputStream input,
ObjectMetadata objectMetadata)
Schedules a new transfer to upload data to Nos.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
DownloadImpl.getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
Copyright © 2017. All Rights Reserved.