- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 38 for onResponse (0.14 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
object : Callback { override fun onFailure( call: Call, e: IOException, ) { fail("") } override fun onResponse( call: Call, response: Response, ): Unit = throw IOException("a") }, ) assertThat(testLogHandler.take())Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
.header("Sec-WebSocket-Extensions", "permessage-deflate") .build() call = RealCall(webSocketClient, request, forWebSocket = true) call!!.enqueue( object : Callback { override fun onResponse( call: Call, response: Response, ) { val socket = try { checkUpgradeSuccess(response) } catch (e: IOException) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
headers, and to manually clear the cache. * **Request cancellation fixes.** This update fixes a bug where synchronous requests couldn't be canceled by tag. This update avoids crashing when `onResponse()` throws an `IOException`. That failure will now be logged instead of notifying the thread's uncaught exception handler. We've added a new API, `Call.isCanceled()` to check if a call has been canceled.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/JvmCallExtensionsKt$executeAsync$2$2$onResponse$1;-><init>(Lokhttp3/Call;)V HSPLokhttp3/JvmCallExtensionsKt$executeAsync$2$2;-><init>(Lkotlinx/coroutines/CancellableContinuation;)V HSPLokhttp3/JvmCallExtensionsKt$executeAsync$2$2;->onFailure(Lokhttp3/Call;Ljava/io/IOException;)V HSPLokhttp3/JvmCallExtensionsKt$executeAsync$2$2;->onResponse(Lokhttp3/Call;Lokhttp3/Response;)V
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
doAnswer(invocation -> { ActionListener<ClearScrollResponse> listener = invocation.getArgument(0); listener.onResponse(mock(ClearScrollResponse.class)); return null; }).when(mockClearScrollBuilder).execute(any(ActionListener.class));
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
var afterCallbackOnResponse: () -> Unit = {} override fun cancel() { canceled = true } override fun enqueue(responseCallback: Callback) { responseCallback.onResponse(this, response) afterCallbackOnResponse() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
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;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
*/ public void refresh(final String... indices) { client.admin().indices().prepareRefresh(indices).execute(new ActionListener<RefreshResponse>() { @Override public void onResponse(final RefreshResponse response) { if (logger.isDebugEnabled()) { logger.debug(() -> "Refreshed " + stream(indices).get(stream -> stream.collect(Collectors.joining(", "))));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1)