MCPcopy Index your code
hub / github.com/aliyun/aliyun-oss-java-sdk

github.com/aliyun/aliyun-oss-java-sdk @3.18.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.18.5 ↗ · + Follow
7,172 symbols 38,978 edges 699 files 1,786 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Aliyun OSS SDK for Java

GitHub version Build Status

About OSS SDK for Java V2

  • OSS SDK for Java V2(alibabacloud-oss-java-sdk-v2) has been released, it is a major rewrite of OSS SDK for Java V1 (aliyun-oss-java-sdk).
  • V2 simplifies underlying operations such as identification authentication, automatic retry of failed requests, and error handling. It provides flexible parameter configuration methods and rich advanced operations, such as paginator, transmission managers, and File-like operations. This comprehensively improves development efficiency and experience.

About

The Aliyun OSS SDK for Java enables Java developers to easily work with Aliyun OSS. You can get started in minutes using Maven or by downloading a single zip file.

Requirements

  • Java 1.6 or later
  • Maven

Install

The recommended way to use the Aliyun OSS SDK for Java in your project is to consume it from Maven. Import as follows:

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

See the Setup section of the SDK Reference for more information about installing the SDK through other means.

Build

Once you check out the code from GitHub, you can build it using Maven. Use the following command to build:

mvn clean install -DskipTests

Authors

License

Apache License 2.0

Extension points exported contracts — how you extend this code

Credentials (Interface)
Provides access to credentials used for accessing OSS, these credentials are used to securely sign requests to OSS. [6 …
src/main/java/com/aliyun/oss/common/auth/Credentials.java
BinaryFunction (Interface)
(no doc)
src/test/java/com/aliyun/oss/utils/BinaryFunction.java
CredentialsProvider (Interface)
Abstract credentials provider that maintains only one user credentials. Users can switch to other valid credentials with [22 …
src/main/java/com/aliyun/oss/common/auth/CredentialsProvider.java
ResponseParser (Interface)
Used to convert an result stream to a java object. [98 implementers]
src/main/java/com/aliyun/oss/common/parser/ResponseParser.java
OSSBuilder (Interface)
Fluent builder for OSS Client. Use of the builder is preferred over using constructors of the client class. [5 implementers]
src/main/java/com/aliyun/oss/OSSBuilder.java
CryptoModule (Interface)
An interafce used to implements different crypto module. [4 implementers]
src/main/java/com/aliyun/oss/crypto/CryptoModule.java

Core symbols most depended-on inside this repo

assertTrue
called by 1427
src/main/java/com/aliyun/oss/common/utils/CodingUtils.java
getMessage
called by 1140
src/main/java/com/aliyun/oss/OSSException.java
get
called by 1000
src/main/java/com/aliyun/oss/common/utils/IniEditor.java
put
called by 656
src/main/java/com/aliyun/oss/common/utils/CaseInsensitiveMap.java
getBytes
called by 575
src/main/java/com/aliyun/oss/common/utils/CRC64.java
size
called by 472
src/main/java/com/aliyun/oss/common/utils/CaseInsensitiveMap.java
toString
called by 464
src/main/java/com/aliyun/oss/common/utils/IniEditor.java
assertParameterNotNull
called by 445
src/main/java/com/aliyun/oss/common/utils/CodingUtils.java

Shape

Method 6,229
Class 860
Enum 54
Interface 29

Languages

Java100%

Modules by API surface

src/main/java/com/aliyun/oss/internal/ResponseParsers.java279 symbols
src/main/java/com/aliyun/oss/OSSClient.java213 symbols
src/main/java/com/aliyun/oss/OSS.java193 symbols
src/main/java/com/aliyun/oss/internal/OSSBucketOperation.java129 symbols
src/test/java/com/aliyun/oss/common/parser/ResponseParsersTest.java122 symbols
src/main/java/com/aliyun/oss/common/parser/RequestMarshallers.java119 symbols
src/main/java/com/aliyun/oss/model/LifecycleRule.java103 symbols
src/main/java/com/aliyun/oss/model/RoutingRule.java102 symbols
src/main/java/com/aliyun/oss/model/ObjectFile.java93 symbols
src/main/java/com/aliyun/oss/ClientConfiguration.java87 symbols
src/main/java/com/aliyun/oss/internal/OSSObjectOperation.java58 symbols
src/main/java/com/aliyun/oss/internal/OSSDownloadOperation.java58 symbols

For agents

$ claude mcp add aliyun-oss-java-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact