8000 Add a comment on "encoding-type" · kaniska/java-docs-samples@5ed30b8 · GitHub
[go: up one dir, main page]

10000 Skip to content

Commit 5ed30b8

Browse files
author
Frank Natividad
committed
Add a comment on "encoding-type"
1 parent e3eb08f commit 5ed30b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/s3-sdk/src/main/java/ListGcsObjects.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public static ObjectListing listGcsObjects(String googleAccessKeyId,
4343
// Create a new client and do the following:
4444
// 1. Change the endpoint URL to use the Google Cloud Storage XML API endpoint.
4545
// 2. Use Cloud Storage HMAC Credentials.
46+
// 3. Remove "encoding-type" when using listObjects() using withRequestHandlers().
4647
AmazonS3 interopClient =
4748
AmazonS3ClientBuilder.standard()
4849
.withEndpointConfiguration(

0 commit comments

Comments
 (0)
0