## Uses of Class
net.snowflake.client.core.HttpClientSettingsKey

Packages that use HttpClientSettingsKey
net.snowflake.client.core
net.snowflake.client.jdbc
net.snowflake.client.jdbc.cloud.storage

### Uses of HttpClientSettingsKey in net.snowflake.client.core

Fields in net.snowflake.client.core with type parameters of type HttpClientSettingsKey
`static Map<HttpClientSettingsKey,​org.apache.http.impl.client.CloseableHttpClient>` HttpUtil.`httpClient` The unique httpClient shared by all connections.

Methods in net.snowflake.client.core that return HttpClientSettingsKey
`HttpClientSettingsKey` SFBaseSession.`getHttpClientKey()` Get the http client key
`HttpClientSettingsKey` SFLoginInput.`getHttpClientSettingsKey()`

Methods in net.snowflake.client.core with parameters of type HttpClientSettingsKey
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`buildHttpClient​(HttpClientSettingsKey key, File ocspCacheFile, boolean downloadUnCompressed)` Build an Http client using our set of default.
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`buildHttpClient​(HttpClientSettingsKey key, File ocspCacheFile, boolean downloadUnCompressed, List<HttpHeadersCustomizer> httpHeadersCustomizers)` Build an Http client using our set of default.
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey)` Deprecated.
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey, SFBaseSession sfSession)` Executes an HTTP request for Snowflake.
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey, RetryContextManager retryContextManager, SFBaseSession sfSession)` Executes an HTTP request for Snowflake.
`static String` HttpUtil.`executeGeneralRequestOmitRequestGuid​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey, SFBaseSession sfSession)`
`static String` HttpUtil.`executeRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean includeRetryParameters, boolean retryOnHTTP403, HttpClientSettingsKey ocspAndProxyKey, ExecTimeTelemetryData execTimeData)` Deprecated.

`static String`

HttpUtil.`executeRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean includeRetryParameters, boolean retryOnHTTP403, HttpClientSettingsKey ocspAndProxyKey, ExecTimeTelemetryData execTimeData, SFBaseSession sfSession)`

Executes an HTTP request for Snowflake.

`static String`

HttpUtil.`executeRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean includeRetryParameters, boolean retryOnHTTP403, HttpClientSettingsKey ocspAndProxyKey, ExecTimeTelemetryData execTimeData, RetryContextManager retryContextManager)`

Deprecated.

`static String`

HttpUtil.`executeRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean includeRetryParameters, boolean retryOnHTTP403, HttpClientSettingsKey ocspAndProxyKey, ExecTimeTelemetryData execTimeData, RetryContextManager retryContextManager, SFBaseSession sfSession)`

Executes an HTTP request for Snowflake.

`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`getHttpClient​(HttpClientSettingsKey ocspAndProxyKey)` Gets HttpClient with insecureMode false
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`getHttpClient​(HttpClientSettingsKey ocspAndProxyKey, List<HttpHeadersCustomizer> httpHeadersCustomizers)` Gets HttpClient with insecureMode false
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`getHttpClientWithoutDecompression​(HttpClientSettingsKey ocspAndProxyKey)` Gets HttpClient with insecureMode false and disabling decompression
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`getHttpClientWithoutDecompression​(HttpClientSettingsKey ocspAndProxyKey, List<HttpHeadersCustomizer> httpHeadersCustomizers)` Gets HttpClient with insecureMode false and disabling decompression
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`initHttpClient​(HttpClientSettingsKey key, File ocspCacheFile)` Accessor for the HTTP client singleton.
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`initHttpClient​(HttpClientSettingsKey key, File ocspCacheFile, List<HttpHeadersCustomizer> httpHeadersCustomizers)` Accessor for the HTTP client singleton.
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`initHttpClientWithoutDecompression​(HttpClientSettingsKey key, File ocspCacheFile)` Accessor for the HTTP client singleton.
`static org.apache.http.impl.client.CloseableHttpClient` HttpUtil.`initHttpClientWithoutDecompression​(HttpClientSettingsKey key, File ocspCacheFile, List<HttpHeadersCustomizer> httpHeadersCustomizers)` Accessor for the HTTP client singleton.
`SFLoginInput` SFLoginInput.`setHttpClientSettingsKey​(HttpClientSettingsKey key)`
`static void` HttpUtil.`setProxyForAzure​(HttpClientSettingsKey key, com.microsoft.azure.storage.OperationContext opContext)` A static function to set Azure proxy params when there is a valid session
`static void` HttpUtil.`setProxyForS3​(HttpClientSettingsKey key, com.amazonaws.ClientConfiguration clientConfig)` Deprecated. Use `S3HttpUtil.setProxyForS3(HttpClientSettingsKey, ClientConfiguration)` instead
`static void` HttpUtil.`updateRoutePlanner​(HttpClientSettingsKey key)`

### Uses of HttpClientSettingsKey in net.snowflake.client.jdbc

Methods in net.snowflake.client.jdbc that return HttpClientSettingsKey
`static HttpClientSettingsKey` SnowflakeUtil.`convertProxyPropertiesToHttpClientKey​(OCSPMode mode, Properties info)` Setup JDBC proxy properties if necessary.
`HttpClientSettingsKey` SnowflakeResultSetSerializableV1.`getHttpClientKey()`
`HttpClientSettingsKey` SnowflakeChunkDownloader.`getHttpClientSettingsKey()`

Methods in net.snowflake.client.jdbc with parameters of type HttpClientSettingsKey

`static org.apache.http.client.methods.CloseableHttpResponse`

RestRequest.`execute​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, long authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies, boolean includeRetryParameters, boolean includeRequestGuid, boolean retryHTTP403, boolean noRetry, ExecTimeTelemetryData execTimeData, RetryContextManager retryManager, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

`static HttpResponseContextDto`

RestRequest.`executeWithRetries​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, long authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies, boolean includeRetryParameters, boolean includeRequestGuid, boolean retryHTTP403, boolean noRetry, boolean unpackResponse, ExecTimeTelemetryData execTimeTelemetryData, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

`static HttpResponseContextDto`

RestRequest.`executeWithRetries​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, long authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies, boolean includeRetryParameters, boolean includeRequestGuid, boolean retryHTTP403, boolean unpackResponse, ExecTimeTelemetryData execTimeTelemetryData, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

`static HttpResponseContextDto`

RestRequest.`executeWithRetries​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, HttpExecutingContext httpExecutingContext, ExecTimeTelemetryData execTimeData, RetryContextManager retryManager, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

### Uses of HttpClientSettingsKey in net.snowflake.client.jdbc.cloud.storage

Methods in net.snowflake.client.jdbc.cloud.storage with parameters of type HttpClientSettingsKey
`static void` S3HttpUtil.`setProxyForS3​(HttpClientSettingsKey key, com.amazonaws.ClientConfiguration clientConfig)` A static function to set S3 proxy params when there is a valid session

`void`

SnowflakeGCSClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)`

Upload a file (-stream) to remote storage with Pre-signed URL without JDBC session.

`default void`

SnowflakeStorageClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl)`

Deprecated.
use `SnowflakeStorageClient.uploadWithPresignedUrlWithoutConnection(int, HttpClientSettingsKey, int, boolean, String, File, String, InputStream, FileBackedOutputStream, StorageObjectMetadata, String, String, String)` This method was left to keep backward compatibility

`default void`

SnowflakeStorageClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)`

Upload a file (-stream) to remote storage with Pre-signed URL without JDBC connection.