Last active
June 9, 2022 13:19
-
-
Save julianoBRL/092e8dcd23b08b3efd36461994201915 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuration configuration = new Configuration() | |
.put("java.net.useSystemProxies", "true") | |
.put("http.proxyHost", "localhost") | |
.put("http.proxyPort", "8888") | |
.put("http.proxyUser", "1") | |
.put("http.proxyPassword", "1"); | |
HttpClient nettyHttpClient = new NettyAsyncHttpClientBuilder() | |
.configuration(configuration) | |
.build(); | |
BlobContainerClient blobContainerClient = new BlobContainerClientBuilder() | |
.endpoint(azureSasUrl) | |
.containerName(azureContainerName) | |
.configuration(config) | |
.httpClient(client) | |
.buildClient(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment