- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for DnsStart (0.3 seconds)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}""")) .assertLogMatch(Regex("""proxySelectStart: $url""")) .assertLogMatch(Regex("""proxySelectEnd: \[DIRECT]""")) .assertLogMatch(Regex("""dnsStart: ${url.host}""")) .assertLogMatch(Regex("""dnsEnd: \[.+]""")) .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT""")) .assertLogMatch(Regex("""connectEnd: http/1.1""")) .assertLogMatch(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 10.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.build(), ) val response = call.execute() assertThat(response.code).isEqualTo(200) response.body.close() val dnsStart: DnsStart = eventRecorder.removeUpToEvent<DnsStart>() assertThat(dnsStart.call).isSameInstanceAs(call) assertThat(dnsStart.domainName).isEqualTo(server.hostName) val dnsEnd: DnsEnd = eventRecorder.removeUpToEvent<DnsEnd>() assertThat(dnsEnd.call).isSameInstanceAs(call)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) { logWithTime("proxySelectEnd: $proxies") } override fun dnsStart( call: Call, domainName: String, ) { logWithTime("dnsStart: $domainName") } override fun dnsEnd( call: Call, domainName: String, inetAddressList: List<InetAddress>, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 13:40:20 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
import okhttp3.CallEvent.ConnectEnd import okhttp3.CallEvent.ConnectStart import okhttp3.CallEvent.ConnectionAcquired 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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 08 21:07:01 GMT 2026 - 9.7K bytes - Click Count (0) -
docs/features/events.md
@Override public void callStart(Call call) { printEvent("callStart"); } @Override public void callEnd(Call call) { printEvent("callEnd"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } ... } ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
// JDK 14 // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart, // SecureConnectEnd, ConnectEnd, ConnectionAcquired, RequestHeadersStart, RequestHeadersEnd, // ResponseFailed, ConnectionReleased, CallFailed // JDK 8 // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart, // ConnectFailed, CallFailedCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
} @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); } @Override public void connectStart(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 5.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) = onEvent(ProxySelectEnd(System.nanoTime(), call, url, proxies)) override fun dnsStart( call: Call, domainName: String, ) = onEvent(DnsStart(System.nanoTime(), call, domainName)) override fun dnsEnd( call: Call, domainName: String, inetAddressList: List<InetAddress>,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) { logWithTime("proxySelectEnd: $proxies") } override fun dnsStart( call: Call, domainName: String, ) { logWithTime("dnsStart: $domainName") } override fun dnsEnd( call: Call, domainName: String, inetAddressList: List<InetAddress>, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 5.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
printEvent("proxySelectEnd"); } @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void dnsStart(Call call, String domainName) { printEvent("dnsStart"); } @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) { printEvent("dnsEnd"); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0)