- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for OnFailure (0.05 sec)
-
docs/changelogs/changelog_3x.md
would never call back if it crashed with an unchecked throwable, such as a `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an `IOException` that reports the call as canceled. The triggering exception is still delivered to the thread's `UncaughtExceptionHandler`.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
requestCanceledLatch: CountDownLatch?, ) { val call = client.newCall(Request(server.url("/"))) val latch = CountDownLatch(1) call.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { latch.countDown() } override fun onResponse( call: Call, response: Response,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.Builder() .url(server.url("/")) .build(), ) val completionLatch = CountDownLatch(1) val callback: Callback = object : Callback { override fun onFailure( call: Call, e: IOException, ) { completionLatch.countDown() } override fun onResponse( call: Call, response: Response,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* assume that connectivity has been lost. When this happens on a web socket the connection is * canceled and its listener is [notified][WebSocketListener.onFailure]. When it happens on an * HTTP/2 connection the connection is closed and any calls it is carrying * [will fail with an IOException][java.io.IOException]. *Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
} public abstract interface class okhttp3/Call$Factory { 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 {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
} public abstract interface class okhttp3/Call$Factory { 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 {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
public void onSuccess(@Nullable AutoCloseable result) { closingFuture.closeables.closer.eventuallyClose(result, closingExecutor); } @Override public void onFailure(Throwable t) {} }, directExecutor()); return closingFuture; } /** * Starts specifying how to combine {@link ClosingFuture}s into a single pipeline. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0)