- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for RequestBodyEnd (0.06 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
) { logWithTime("requestHeadersEnd") } override fun requestBodyStart(call: Call) { logWithTime("requestBodyStart") } override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") } override fun requestFailed( call: Call, ioe: IOException, ) { logWithTime("requestFailed: $ioe") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
logWithTime("requestBodyStart") delegate.requestBodyStart(call) } override fun requestBodyEnd( call: Call, byteCount: Long, ) { logWithTime("requestBodyEnd: byteCount=$byteCount") delegate.requestBodyEnd(call, byteCount) } override fun requestFailed( call: Call, ioe: IOException, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
} if (requestBodyBytes != null) { val responseBodyEnd: RequestBodyEnd = listener.removeUpToEvent<RequestBodyEnd>() MatcherAssert.assertThat( "request body bytes", responseBodyEnd.bytesWritten, requestBodyBytes, ) } else { assertThat(listener.recordedEventTypes()).doesNotContain("RequestBodyEnd") } if (responseHeaderLength != null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
override fun requestBodyStart(call: Call) = logEvent(RequestBodyStart(System.nanoTime(), call)) override fun requestBodyEnd( call: Call, byteCount: Long, ) = logEvent(RequestBodyEnd(System.nanoTime(), call, byteCount)) override fun requestFailed( call: Call, ioe: IOException, ) = logEvent(RequestFailed(System.nanoTime(), call, ioe))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
printEvent("requestHeadersEnd"); } @Override public void requestBodyStart(Call call) { printEvent("requestBodyStart"); } @Override public void requestBodyEnd(Call call, long byteCount) { printEvent("requestBodyEnd"); } @Override public void requestFailed(Call call, IOException ioe) { printEvent("requestFailed"); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
printEvent("requestHeadersEnd"); } @Override public void requestBodyStart(Call call) { printEvent("requestBodyStart"); } @Override public void requestBodyEnd(Call call, long byteCount) { printEvent("requestBodyEnd"); } @Override public void requestFailed(Call call, IOException ioe) { printEvent("requestFailed"); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
assertThat(response.code).isEqualTo(200) assertThat(response.socket).isNull() assertThat(response.body.string()).isEqualTo("normal request") } // Confirm there's no RequestBodyStart/RequestBodyEnd on failed upgrades. assertThat(listener.recordedEventTypes()).containsExactly( "CallStart", "ProxySelectStart", "ProxySelectEnd", "DnsStart", "DnsEnd",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * connection held ([connectionAcquired], [connectionReleased]) * * request ([requestFailed]) * * headers ([requestHeadersStart], [requestHeadersEnd]) * * body ([requestBodyStart], [requestBodyEnd]) * * response ([responseFailed]) * * headers ([responseHeadersStart], [responseHeadersEnd]) * * body ([responseBodyStart], [responseBodyEnd]) *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V public fun proxySelectEnd (Lokhttp3/Call;Lokhttp3/HttpUrl;Ljava/util/List;)V public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V public fun requestBodyEnd (Lokhttp3/Call;J)V public fun requestBodyStart (Lokhttp3/Call;)V public fun requestFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun requestHeadersEnd (Lokhttp3/Call;Lokhttp3/Request;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
} data class RequestBodyStart( override val timestampNs: Long, override val call: Call, ) : CallEvent() data class RequestBodyEnd( override val timestampNs: Long, override val call: Call, val bytesWritten: Long, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is RequestBodyStart && call == event.call
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 7K bytes - Viewed (0)