Skip to content

Instantly share code, notes, and snippets.

@julianoBRL
Last active June 9, 2022 13:19
Show Gist options
  • Save julianoBRL/092e8dcd23b08b3efd36461994201915 to your computer and use it in GitHub Desktop.
Save julianoBRL/092e8dcd23b08b3efd36461994201915 to your computer and use it in GitHub Desktop.
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