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. httpClientThe unique httpClient shared by all connections.Methods in net.snowflake.client.core that return HttpClientSettingsKey Modifier and Type Method Description HttpClientSettingsKeySFBaseSession. getHttpClientKey()Get the http client keyMethods in net.snowflake.client.core with parameters of type HttpClientSettingsKey Modifier and Type Method Description static org.apache.http.impl.client.CloseableHttpClientHttpUtil. buildHttpClient(HttpClientSettingsKey key, File ocspCacheFile, boolean downloadUnCompressed)Build an Http client using our set of default.static StringHttpUtil. 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 StringHttpUtil. 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.CloseableHttpClientHttpUtil. getHttpClient(HttpClientSettingsKey ocspAndProxyKey)Gets HttpClient with insecureMode falsestatic org.apache.http.impl.client.CloseableHttpClientHttpUtil. getHttpClientWithoutDecompression(HttpClientSettingsKey ocspAndProxyKey)Gets HttpClient with insecureMode false and disabling decompressionstatic org.apache.http.impl.client.CloseableHttpClientHttpUtil. initHttpClient(HttpClientSettingsKey key, File ocspCacheFile)Accessor for the HTTP client singleton.static org.apache.http.impl.client.CloseableHttpClientHttpUtil. initHttpClientWithoutDecompression(HttpClientSettingsKey key, File ocspCacheFile)Accessor for the HTTP client singleton.static voidHttpUtil. setProxyForAzure(HttpClientSettingsKey key, com.microsoft.azure.storage.OperationContext opContext)A static function to set Azure proxy params when there is a valid sessionstatic voidHttpUtil. setProxyForS3(HttpClientSettingsKey key, com.amazonaws.ClientConfiguration clientConfig)Deprecated.static voidHttpUtil. 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 HttpClientSettingsKeySnowflakeUtil. convertProxyPropertiesToHttpClientKey(OCSPMode mode, Properties info)Setup JDBC proxy properties if necessary.HttpClientSettingsKeySnowflakeResultSetSerializableV1. getHttpClientKey()HttpClientSettingsKeySnowflakeChunkDownloader. 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 static voidS3HttpUtil. setProxyForS3(HttpClientSettingsKey key, com.amazonaws.ClientConfiguration clientConfig)A static function to set S3 proxy params when there is a valid sessionvoidSnowflakeGCSClient. 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 voidSnowflakeStorageClient. 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.useSnowflakeStorageClient.uploadWithPresignedUrlWithoutConnection(int, HttpClientSettingsKey, int, boolean, String, File, String, InputStream, FileBackedOutputStream, StorageObjectMetadata, String, String, String)This method was left to keep backward compatibilitydefault voidSnowflakeStorageClient. 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.
-