Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to customize httpClient for S3Client #49

Open
yidian1997 opened this issue Nov 26, 2024 · 0 comments
Open

What to customize httpClient for S3Client #49

yidian1997 opened this issue Nov 26, 2024 · 0 comments

Comments

@yidian1997
Copy link
Contributor

Hi team
Thanks for the wonderful project.
We need to customize the httpClient for the S3Client when using this lib.
Here is an example of what we need using the AWS SDK to implement:

ApacheHttpClient.Builder httpClientBuilder = ApacheHttpClient.builder()
     .tlsTrustManagersProvider(() -> new X509TrustManager[] {trustManagerWrapper});
S3Client s3Client = S3Client.builder()
     .httpClientBuilder(httpClientBuilder)
     .forcePathStyle(true)
     .region(Region.US_EAST_1)
     .build();

But after I inspect the code, I found I can not customize it. Is there any advise about how to do it?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant