- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for responseFailed (0.06 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
override val call: Call, val bytesRead: Long, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is ResponseBodyStart && call == event.call } data class ResponseFailed( override val timestampNs: Long, override val call: Call, val ioe: IOException, ) : CallEvent() data class SatisfactionFailure( override val timestampNs: Long,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 7K bytes - Viewed (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, CallFailed // Gradle - JDK 11
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
override fun responseBodyStart(call: Call) = TODO() override fun responseBodyEnd( call: Call, byteCount: Long, ) = TODO() override fun responseFailed( call: Call, ioe: IOException, ) = TODO() override fun callEnd(call: Call) = TODO() override fun callFailed( call: Call,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
been received. Previously these events were incorrectly sent too early, when OkHttp was ready to read the response headers or body, which mislead tracing tools. Note that the `responseFailed()` event always used to follow one of these events; now it may be sent without them. * New: Upgrade to Kotlin 1.3.61.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
// The call that seeds the connection pool. listener.removeUpToEvent(CallEnd::class.java) // The ResponseFailed event is not necessarily fatal! listener.removeUpToEvent(ConnectionAcquired::class.java) listener.removeUpToEvent(ResponseFailed::class.java) listener.removeUpToEvent(ConnectionReleased::class.java) listener.removeUpToEvent(ConnectionAcquired::class.java)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public fun requestHeadersEnd (Lokhttp3/Call;Lokhttp3/Request;)V public fun requestHeadersStart (Lokhttp3/Call;)V public fun responseBodyEnd (Lokhttp3/Call;J)V public fun responseBodyStart (Lokhttp3/Call;)V public fun responseFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V public fun responseHeadersStart (Lokhttp3/Call;)V public fun retryDecision (Lokhttp3/Call;Ljava/io/IOException;Z)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* New: Prevent OkHttp from retransmitting a request body by overriding `RequestBody.isOneShot()`. This is most useful when writing the request body is destructive. * New: We've added `requestFailed()` and `responseFailed()` methods to `EventListener`. These are called instead of `requestBodyEnd()` and `responseBodyEnd()` in some failure situations.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public fun requestHeadersEnd (Lokhttp3/Call;Lokhttp3/Request;)V public fun requestHeadersStart (Lokhttp3/Call;)V public fun responseBodyEnd (Lokhttp3/Call;J)V public fun responseBodyStart (Lokhttp3/Call;)V public fun responseFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V public fun responseHeadersStart (Lokhttp3/Call;)V public fun retryDecision (Lokhttp3/Call;Ljava/io/IOException;Z)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)