Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for requestBodyEnd (0.78 sec)

  1. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

          RequestHeadersEnd::class,
          RequestBodyStart::class,
          RequestBodyEnd::class,
          ResponseHeadersStart::class,
          ResponseHeadersEnd::class,
          FollowUpDecision::class,
          RequestBodyStart::class,
          ResponseBodyStart::class,
          ResponseBodyEnd::class,
          RequestBodyEnd::class,
          ConnectionReleased::class,
          CallEnd::class,
        )
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

      override fun requestBodyStart(call: Call) =
        onEvent(
          RequestBodyStart(
            System.nanoTime(),
            call,
          ),
        )
    
      override fun requestBodyEnd(
        call: Call,
        byteCount: Long,
      ) = onEvent(RequestBodyEnd(System.nanoTime(), call, byteCount))
    
      override fun requestFailed(
        call: Call,
        ioe: IOException,
      ) = onEvent(RequestFailed(System.nanoTime(), call, ioe))
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.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 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

          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 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

          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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

          for (delegate in eventListeners) {
            delegate.requestBodyStart(call)
          }
        }
    
        override fun requestBodyEnd(
          call: Call,
          byteCount: Long,
        ) {
          for (delegate in eventListeners) {
            delegate.requestBodyEnd(call, byteCount)
          }
        }
    
        override fun requestFailed(
          call: Call,
          ioe: IOException,
        ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. 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::class)
        }
        if (responseHeaderLength != null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:46 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

    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.RequestFailed
    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
    - 25.8K bytes
    - Viewed (0)
Back to top