Java SDK

Last Updated: May 27, 2016

Java SDK Documentation

Click to View

Java SDK (2015-07-10) Version 2.0.5

Java SDK download address:java_sdk_20150710.zip

Updates:

  • Added Append Object support.
  • Added HTTPS support.
  • Added the encoding-type parameter in the DeleteObject and ListObjects interfaces for users to specify the object name encoding method.
  • Removed the mandatory check of the Expires response header date format, fixing the issue where the system could not parse Expires response headers without using the GMT date format.

Java SDK (2015-05-29) Version 2.0.4

Java SDK download address:java_sdk_20150529.zip

Updates:

  • Added STS support.
  • Added a test Demo Jar; for specific usage, refer to Readme.txt in the demo folder.
  • Modified the CreateBucket logic to allow users to specify the Bucket ACL during creation.
  • Modified the bucket name inspection rules, allow for operations on existing buckets with underlines, but not the creation of buckets with underlines.
  • Optimized the HTTP connection pool, enhancing its concurrent processing capability.

Java SDK (2015-04-24) Version 2.0.3

Java SDK download address:java_sdk_20150424.zip

Updates:

  • Added the deleteObjects interface to batch delete object lists.
  • Added the doesObjectExist interface to check for the existence of objects under the specified bucket.
  • Added the switchCredentials interface, allowing users to switch the credentials of existing OSSClient instances.
  • Added the OSSClient constructor with CredentialsProvider to allow for more customization of the CredentialsProvider.
  • Fixed the bug that occurred when the Source Key in the copyObject interface contained the plus sign special character.
  • Adjusted the OSSException/ClientException information display format.

Java SDK (2015-03-23) Version 2.0.2

Java SDK download address:java_sdk_20150323.zip

Updates:

  • Added the GeneratePostPolicy/calculatePostSignature interface, used to generate the Policy string and Post signature for Post requests.
  • Support for Bucket Lifecycle.
  • Added the URL signature-based Put/GetObject overload interface.
  • Support for PutObject, UploadPart, and Chunked encoding data upload.
  • Fixed several bugs.

Java SDK (2015-01-15) Version 2.0.1

Java SDK download address:java_sdk_20150115.zip

Updates:

  • Support for Cname, allowing users to specify which domain names are retained
  • Support for user ContentType and ContentMD5 specification during URI generation.
  • Addressed the problem where CopyObject requests did not support server-side encryption.
  • Changed the UserAgent format.
  • Expanded location constant and added some samples

Java SDK (2014-11-13)

Java SDK download address:java_sdk_20141113.zip

New content: Upload Part Copy function OSS Java SDK source code Sample Code

Important: In version 2.0.0, the OSS Java SDK removed the OTS-related code from previous versions, adjusted the package structure, and added OSS SDK source code and sample code. Programs developed using a version earlier than 2.0.0 must change the referenced package name when using version 2.0.0. The package names com.aliyun.openservices.* and com.aliyun.openservices.oss.* should be changed to com.aliyun.oss.*.

Thank you! We've received your feedback.