From b6d712779dca51c687618c4ee27df0354c220a76 Mon Sep 17 00:00:00 2001 From: 0xdx2 Date: Wed, 24 Dec 2025 14:54:52 +0800 Subject: [PATCH] Revise presigned URL documentation structure Updated section headers and removed dependency example for presigned URLs. --- docs/developer/sdk/java.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/docs/developer/sdk/java.md b/docs/developer/sdk/java.md index 5b25f69..341f92b 100644 --- a/docs/developer/sdk/java.md +++ b/docs/developer/sdk/java.md @@ -160,17 +160,7 @@ Good, below is the **RustFS AWS S3 Java SDK Advanced Features Example Supplement > Presigned URLs allow clients to temporarily access private objects without exposing credentials, widely used for browser direct upload or download file scenarios. -#### 5.1.1 Add Dependencies (v2 SDK URL signing is in `s3-presigner` module) - -```xml - - software.amazon.awssdk - s3-presigner - 2.25.27 - -``` - -#### 5.1.2 Generate Download Link (GET) +#### 5.1.1 Generate Download Link (GET) ```java import software.amazon.awssdk.services.s3.presigner.S3Presigner; @@ -203,7 +193,7 @@ System.out.println("Presigned URL: " + presignedRequest.url()); > 🔗 Open the link in browser to access the object. -#### 5.1.3 Upload Presigned URL (PUT) +#### 5.1.2 Upload Presigned URL (PUT) Similarly, you can also generate upload URLs: