| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
PutObjectResponse |
BosClient.putObject(PutObjectRequest request)
Uploads a new object to the specified Bos bucket.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
byte[] value)
Uploads the specified bytes to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
byte[] value,
ObjectMetadata metadata)
Uploads the specified bytes and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
File file)
Uploads the specified file to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
File file,
ObjectMetadata metadata)
Uploads the specified file and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
InputStream input)
Uploads the specified input stream to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
Uploads the specified input stream and object metadata to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
String value)
Uploads the specified string to Bos under the specified bucket and key name.
|
PutObjectResponse |
BosClient.putObject(String bucketName,
String key,
String value,
ObjectMetadata metadata)
Uploads the specified string and object metadata to Bos under the specified bucket and key name.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AppendObjectResponse
Contains the data returned by Baidu Bos from the
putObject operation. |
Copyright © 2020. All rights reserved.