Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProxySelector (0.57 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

      @Test
      fun connectTimeoutsAttemptsAlternateRoute() {
        val proxySelector = RecordingProxySelector()
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, TestUtil.UNREACHABLE_ADDRESS_IPV4))
        proxySelector.proxies.add(server.toProxyAddress())
        server.enqueue(MockResponse(body = "success!"))
        client =
          client.newBuilder()
            .proxySelector(proxySelector)
            .readTimeout(Duration.ofMillis(100))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(
          MockResponse(body = "response 1"),
        )
        server.enqueue(
          MockResponse(code = 407),
        )
        client =
          client.newBuilder()
            .proxySelector(
              object : ProxySelector() {
                override fun select(uri: URI): List<Proxy> = listOf(server.toProxyAddress())
    
                override fun connectFailed(
                  uri: URI,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/Address;->equalsNonHost$okhttp(Lokhttp3/Address;)Z
    HSPLokhttp3/Address;->hashCode()I
    HSPLokhttp3/Authenticator$Companion$AuthenticatorNone;-><init>()V
    HSPLokhttp3/Authenticator;-><clinit>()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
Back to top