Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for requestBodyEnd (0.13 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

        e: E,
      ): E {
        if (e != null) {
          trackFailure(e)
        }
        if (requestDone) {
          if (e != null) {
            eventListener.requestFailed(call, e)
          } else {
            eventListener.requestBodyEnd(call, bytesRead)
          }
        }
        if (responseDone) {
          if (e != null) {
            eventListener.responseFailed(call, e)
          } else {
            eventListener.responseBodyEnd(call, bytesRead)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. 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\}"""))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top