| 程序包 | 说明 | 
|---|---|
| com.aliyun.oss | 
| 限定符和类型 | 方法和说明 | 
|---|---|
PutObjectResult | 
OSSClient.putObject(PutObjectRequest putObjectRequest)  | 
PutObjectResult | 
OSS.putObject(PutObjectRequest putObjectRequest)
Uploads the file to  
Bucket. | 
PutObjectResult | 
OSSClient.putObject(String bucketName,
         String key,
         File file)  | 
PutObjectResult | 
OSS.putObject(String bucketName,
         String key,
         File file)
Uploads the file to the  
Bucket from the file. | 
PutObjectResult | 
OSSClient.putObject(String bucketName,
         String key,
         File file,
         ObjectMetadata metadata)  | 
PutObjectResult | 
OSS.putObject(String bucketName,
         String key,
         File file,
         ObjectMetadata metadata)
Uploads the file to the  
Bucket from the file with the
 ObjectMetadata. | 
PutObjectResult | 
OSSClient.putObject(String bucketName,
         String key,
         InputStream input)  | 
PutObjectResult | 
OSS.putObject(String bucketName,
         String key,
         InputStream input)
Uploads the file to the  
Bucket from the InputStream
 instance. | 
PutObjectResult | 
OSSClient.putObject(String bucketName,
         String key,
         InputStream input,
         ObjectMetadata metadata)  | 
PutObjectResult | 
OSS.putObject(String bucketName,
         String key,
         InputStream input,
         ObjectMetadata metadata)
Uploads the file to the  
Bucket from the @{link InputStream} with
 the ObjectMetadata information。 | 
PutObjectResult | 
OSSClient.putObject(URL signedUrl,
         InputStream requestContent,
         long contentLength,
         Map<String,String> requestHeaders)  | 
PutObjectResult | 
OSS.putObject(URL signedUrl,
         InputStream requestContent,
         long contentLength,
         Map<String,String> requestHeaders)
Uploads the file from a InputStream instance to the signed URL with
 specified headers. 
 | 
PutObjectResult | 
OSSClient.putObject(URL signedUrl,
         InputStream requestContent,
         long contentLength,
         Map<String,String> requestHeaders,
         boolean useChunkEncoding)  | 
PutObjectResult | 
OSS.putObject(URL signedUrl,
         InputStream requestContent,
         long contentLength,
         Map<String,String> requestHeaders,
         boolean useChunkEncoding)
Uploads the file from a InputStream instance to the signed URL with
 specified headers. 
 | 
PutObjectResult | 
OSSClient.putObject(URL signedUrl,
         String filePath,
         Map<String,String> requestHeaders)  | 
PutObjectResult | 
OSS.putObject(URL signedUrl,
         String filePath,
         Map<String,String> requestHeaders)
Uploads the file from a specified file path to the signed URL with
 specified headers 
 | 
PutObjectResult | 
OSSClient.putObject(URL signedUrl,
         String filePath,
         Map<String,String> requestHeaders,
         boolean useChunkEncoding)  | 
PutObjectResult | 
OSS.putObject(URL signedUrl,
         String filePath,
         Map<String,String> requestHeaders,
         boolean useChunkEncoding)
Uploads the file from a specified file path to the signed URL with
 specified headers with the flag of using chunked tranfer encoding. 
 | 
Copyright © 2019. All Rights Reserved.