Alibaba Cloud OSS Java SDK 2.2.3 Programming Manual

This manual provides installation, configuration, and usage instructions for Alibaba Cloud OSS Java SDK version 2.2.3.


Alibaba Cloud OSS Java SDK 2.2.3 Programming Manual - cover page
Brand
Alibaba Cloud
Document type
Programming Manual
Language
Chinese
Pages
493
File format
PDF
File size
7 MB
Published
03 October, 2026
Updated
03 October, 2026
MD5 checksum
60968612965C2696FD6502A7F798B50B

About this manual

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.

What's inside

  • Introduction
  • Compatibility
  • Installation
  • Sample Projects
  • Client Configuration
  • Bucket Operations
  • Object Operations
  • Advanced Settings
  • Quick Start

Specifications

Supported JDK versionJDK 6 and above
Default max HTTP connections1024
CNAME supportEnabled by default
Second‑level domain (SLD) supportDisabled by default
Default protocolHTTP

Frequently asked questions

How do I configure the maximum number of HTTP connections?

Create a ClientConfiguration object and call setMaxConnections, e.g., conf.setMaxConnections(200).

How can I upload an object to a bucket?

Use OSSClient.putObject with bucket name, object key, and an InputStream, for example: ossClient.putObject("", "", new ByteArrayInputStream(content.getBytes()));

Download PDF (7 MB)

More Alibaba Cloud Manuals


View all Alibaba Cloud manuals →