Aliyun OSS SDK for Java

repository·master·Indexed 23 days ago

https://github.com/aliyun/aliyun-oss-java-sdk

A Java SDK providing tools to interact with Aliyun Object Storage Service (OSS). This V1 SDK can be integrated via Maven using the com.aliyun.oss:aliyun-sdk-oss dependency.

Tokens
290
Snippets
2
Records
3
Agent score
29%

What's inside aliyun-oss-java-sdk

  1. Understand the difference between OSS SDK for Java V1 and V2

    master

    Aliyun has released OSS SDK for Java V2 (alibabacloud-oss-java-sdk-v2), which is a major rewrite of the current V1 SDK (aliyun-oss-java-sdk).

    Key improvements in V2 include:

    • Simplified identification authentication.
    • Automatic retry of failed requests.
    • Improved error handling.
    • Flexible parameter configuration.
    • Advanced operations such as paginators, transmission managers, and File-like operations.
  2. Install the Aliyun OSS SDK for Java via Maven

    master

    The recommended way to integrate the Aliyun OSS SDK for Java into your project is by using Maven. Add the following dependency to your pom.xml file to include the SDK.

    <dependency>
        <groupId>com.aliyun.oss</groupId>
        <artifactId>aliyun-sdk-oss</artifactId>
        <version>3.18.4</version>
    </dependency>