- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for followSslRedirects (0.11 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
val authenticator: Authenticator = builder.authenticator @get:JvmName("followRedirects") val followRedirects: Boolean = builder.followRedirects @get:JvmName("followSslRedirects") val followSslRedirects: Boolean = builder.followSslRedirects @get:JvmName("cookieJar") val cookieJar: CookieJar = builder.cookieJar @get:JvmName("cache") val cache: Cache? = builder.cache @get:JvmName("dns")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
certificateChainCleaner = certificateChainCleaner, ) override val eventListener: EventListener get() = call.eventListener override val followSslRedirects: Boolean get() = call.client.followSslRedirects override val followRedirects: Boolean get() = call.client.followRedirects override fun connection(): Connection? = exchange?.connectionCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
/** * Returns a new chain with the specified write timeout. */ fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Chain val followSslRedirects: Boolean val followRedirects: Boolean /** * Get the [DNS] instance for the OkHttpClient, or an override from the Call.Chain. */ val dns: Dns /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val authenticator: Authenticator = client.authenticator val connectionPool: ConnectionPool = client.connectionPool val dns: Dns = client.dns val followSslRedirects: Boolean = client.followSslRedirects val followRedirects: Boolean = client.followRedirects val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure val callTimeoutMillis: Int = client.callTimeoutMillisCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
headers = headersOf("Location", "http://anyhost/foo"), body = "This page has moved!", ), ) client = client .newBuilder() .followSslRedirects(false) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).hostnameVerifier(RecordingHostnameVerifier()) .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun dns ()Lokhttp3/Dns; public final fun eventListenerFactory ()Lokhttp3/EventListener$Factory; public final fun fastFallback ()Z public final fun followRedirects ()Z public final fun followSslRedirects ()Z public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier; public final fun interceptors ()Ljava/util/List; public final fun minWebSocketMessageToCompress ()J
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun dns ()Lokhttp3/Dns; public final fun eventListenerFactory ()Lokhttp3/EventListener$Factory; public final fun fastFallback ()Z public final fun followRedirects ()Z public final fun followSslRedirects ()Z public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier; public final fun interceptors ()Ljava/util/List; public final fun minWebSocketMessageToCompress ()J
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// If configured, don't follow redirects between SSL and non-SSL. val sameScheme = url.scheme == userResponse.request.url.scheme if (!sameScheme && !chain.followSslRedirects) return null // Most redirects don't include a request body. val requestBuilder = userResponse.request.newBuilder() if (HttpMethod.permitsRequestBody(method)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
MockResponse( code = 301, headers = headersOf("Location", "http://square.com"), ), ) client = client .newBuilder() .followSslRedirects(false) .build() val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() assertThat(response.code).isEqualTo(301)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0)