Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for followSslRedirects (0.12 sec)

  1. okhttp/src/main/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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.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.callTimeoutMillis()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. okhttp/src/main/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 && !client.followSslRedirects) return null
    
        // Most redirects don't include a request body.
        val requestBuilder = userResponse.request.newBuilder()
        if (HttpMethod.permitsRequestBody(method)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. docs/changelogs/upgrading_to_okhttp_4.md

     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
       networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector,
       readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        commonRun()
      }
    
      fun createRequest(): Request = commonCreateRequest()
    
      fun createClient(): Call.Factory {
        val builder = OkHttpClient.Builder()
        builder.followSslRedirects(followRedirects)
        if (connectTimeout != DEFAULT_TIMEOUT) {
          builder.connectTimeout(connectTimeout.toLong(), SECONDS)
        }
        if (readTimeout != DEFAULT_TIMEOUT) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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.callTimeoutMillis
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. okhttp/api/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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(
          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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top