Uses of Class
net.snowflake.client.core.HttpClientSettingsKey
-
Packages that use HttpClientSettingsKey Package Description 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 Modifier and Type Field Description 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 Modifier and Type Method Description HttpClientSettingsKey
SFBaseSession. getHttpClientKey()
Methods in net.snowflake.client.core with parameters of type HttpClientSettingsKey Modifier and Type Method Description 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 String
HttpUtil. executeGeneralRequest(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey)
Executes a 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)
Executes a HTTP request for Snowflake.static org.apache.http.impl.client.CloseableHttpClient
HttpUtil. getHttpClient(HttpClientSettingsKey ocspAndProxyKey)
Gets HttpClient with insecureMode falsestatic org.apache.http.impl.client.CloseableHttpClient
HttpUtil. getHttpClientWithoutDecompression(HttpClientSettingsKey ocspAndProxyKey)
Gets HttpClient with insecureMode false and disabling decompressionstatic 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. initHttpClientWithoutDecompression(HttpClientSettingsKey key, File ocspCacheFile)
Accessor for the HTTP client singleton.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 sessionstatic void
HttpUtil. setProxyForS3(HttpClientSettingsKey key, com.amazonaws.ClientConfiguration clientConfig)
A static function to set S3 proxy params when there is a valid sessionstatic void
HttpUtil. updateRoutePlanner(HttpClientSettingsKey key)
-
Uses of HttpClientSettingsKey in net.snowflake.client.jdbc
Methods in net.snowflake.client.jdbc that return HttpClientSettingsKey Modifier and Type Method Description static HttpClientSettingsKey
SnowflakeUtil. convertProxyPropertiesToHttpClientKey(OCSPMode mode, Properties info)
Setup JDBC proxy properties if necessary.HttpClientSettingsKey
SnowflakeResultSetSerializableV1. getHttpClientKey()
HttpClientSettingsKey
SnowflakeChunkDownloader. getHttpClientSettingsKey()
-
Uses of HttpClientSettingsKey in net.snowflake.client.jdbc.cloud.storage
Methods in net.snowflake.client.jdbc.cloud.storage with parameters of type HttpClientSettingsKey Modifier and Type Method Description 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)
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)
Upload a file (-stream) to remote storage with Pre-signed URL without JDBC connection.
-