This manual provides installation, configuration, and usage instructions for Alibaba Cloud OSS Java SDK version 2.2.3.
The Alibaba Cloud Object Storage Service (OSS) Java SDK enables Java applications to interact with OSS resources such as buckets and objects. It supports JDK 6 and later and offers both Maven and manual JAR integration methods.
The guide covers SDK installation, client initialization, configuration parameters, and common operations including creating buckets, uploading, downloading, listing, and deleting objects. Sample projects and code snippets are provided for quick start and deeper integration. This manual is written in Chinese.
| Supported JDK version | JDK 6 and above |
|---|---|
| Default max HTTP connections | 1024 |
| CNAME support | Enabled by default |
| Second‑level domain (SLD) support | Disabled by default |
| Default protocol | HTTP |
Create a ClientConfiguration object and call setMaxConnections, e.g., conf.setMaxConnections(200).
Use OSSClient.putObject with bucket name, object key, and an InputStream, for example: ossClient.putObject("