Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for onResponse (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              completionLatch.countDown()
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              completionLatch.countDown()
            }
          }
        call.enqueue(callback)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              latch.countDown()
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              fail("")
            }
          },
        )
        assertThat(server.takeRequest().exchangeIndex)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  3. okhttp/api/jvm/okhttp.api

    	public abstract fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    }
    
    public abstract interface class okhttp3/Callback {
    	public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V
    	public abstract fun onResponse (Lokhttp3/Call;Lokhttp3/Response;)V
    }
    
    public final class okhttp3/CertificatePinner {
    	public static final field Companion Lokhttp3/CertificatePinner$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        check if the call was canceled from within the callback. When migrating
        async calls to this new API, `Call` is now the first parameter for both
        `onResponse()` and `onFailure()`.
     *  Fix: handle multiple cookies in `JavaNetCookieJar` on Android.
     *  Fix: improve the default HTTP message in MockWebServer responses.
     *  Fix: don't leak file handles when a conditional GET throws.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. okhttp/api/android/okhttp.api

    	public abstract fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    }
    
    public abstract interface class okhttp3/Callback {
    	public abstract fun onFailure (Lokhttp3/Call;Ljava/io/IOException;)V
    	public abstract fun onResponse (Lokhttp3/Call;Lokhttp3/Response;)V
    }
    
    public final class okhttp3/CertificatePinner {
    	public static final field Companion Lokhttp3/CertificatePinner$Companion;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top