Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for RequestBodyEnd (0.08 seconds)

  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")
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 5.8K bytes
    - Click Count (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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (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))
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 7.1K bytes
    - Click Count (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")
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. 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,
        ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  6. 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) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  9. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            ),
          ).assertLogMatch(Regex("""requestHeadersStart"""))
          .assertLogMatch(Regex("""requestHeadersEnd"""))
          .assertLogMatch(Regex("""requestBodyStart"""))
          .assertLogMatch(Regex("""requestBodyEnd: byteCount=6"""))
          .assertLogMatch(Regex("""responseHeadersStart"""))
          .assertLogMatch(Regex("""responseHeadersEnd: Response\{protocol=http/1\.1, code=200, message=OK, url=$url\}"""))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top