Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ProxySelectStart (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

      override fun dispatcherQueueEnd(
        call: Call,
        dispatcher: Dispatcher,
      ) = onEvent(DispatcherQueueEnd(System.nanoTime(), call, dispatcher))
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) = onEvent(ProxySelectStart(System.nanoTime(), call, url))
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        call: Call,
        dispatcher: Dispatcher,
      ) {
        logWithTime("dispatcherQueueEnd: $call queuedCallsCount=${dispatcher.queuedCallsCount()}")
      }
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) {
        logWithTime("proxySelectStart: $url")
      }
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    import okhttp3.CallEvent.FollowUpDecision
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    import okhttp3.CallEvent.RequestBodyEnd
    import okhttp3.CallEvent.RequestBodyStart
    import okhttp3.CallEvent.RequestHeadersEnd
    import okhttp3.CallEvent.RequestHeadersStart
    import okhttp3.CallEvent.ResponseBodyEnd
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        call: Call,
        dispatcher: Dispatcher,
      ) {
        logWithTime("dispatcherQueueEnd: queuedCallsCount=${dispatcher.queuedCallsCount()}")
      }
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) {
        logWithTime("proxySelectStart: $url")
      }
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void callStart(Call call) {
          printEvent("callStart");
        }
    
        @Override public void proxySelectStart(Call call, HttpUrl url) {
          printEvent("proxySelectStart");
        }
    
        @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) {
          printEvent("proxySelectEnd");
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          long elapsedNanos = System.nanoTime() - callStartNanos;
          System.out.printf("%04d %.3f %s%n", callId, elapsedNanos / 1000000000d, name);
        }
    
        @Override public void proxySelectStart(Call call, HttpUrl url) {
          printEvent("proxySelectStart");
        }
    
        @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) {
          printEvent("proxySelectEnd");
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        override val call: Call,
        val dispatcher: Dispatcher,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is DispatcherQueueStart && call == event.call
      }
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
      data class ProxySelectEnd(
        override val timestampNs: Long,
        override val call: Call,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    import okhttp3.CallEvent.FollowUpDecision
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    import okhttp3.CallEvent.RequestHeadersEnd
    import okhttp3.CallEvent.RequestHeadersStart
    import okhttp3.CallEvent.ResponseBodyEnd
    import okhttp3.CallEvent.ResponseBodyStart
    import okhttp3.CallEvent.ResponseHeadersEnd
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

            it.msg.replace(
              "\\[\\d+ ms] ".toRegex(),
              "",
            )
          },
        ).containsExactly(
          "callStart: Request{method=GET, url=http://google.com/robots.txt}",
          "proxySelectStart: http://google.com/",
          "proxySelectEnd: [DIRECT]",
          "dnsStart: google.com",
          "callFailed: java.net.UnknownHostException: shortcircuit",
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. docs/features/caching.md

    Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's 
    lifetime based on Response cache headers.
    
     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
     - ... Standard Events ...
     - CallEnd
            
    ### Conditional Cache Hit
     
    When cache flags require checking the cache results are still valid an early cacheConditionalHit event is
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (1)
Back to top