Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for ResponseFailed (0.22 sec)

  1. 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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. 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.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  6. 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.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  7. okhttp/api/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 satisfactionFailure (Lokhttp3/Call;Lokhttp3/Response;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top