- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 3,237 for Call (0.14 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
var shouldClose: Boolean = false var lastSocket: Socket? = null override fun connectionAcquired( call: Call, connection: Connection, ) { lastSocket = connection.socket() } override fun requestHeadersStart(call: Call) { if (shouldClose) { lastSocket!!.close() } } } @Test fun socketFailureOnLargeRequestHeaders() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
.build() val exchange = call.interceptorScopedExchange val followUp = followUpRequest(response, exchange, chain) if (followUp == null) { if (exchange != null && exchange.isDuplex) { call.timeoutEarlyExit() } closeActiveExchange = false call.eventListener.followUpDecision(call, response, null) return response }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
} } } else { /* * We'll call the user callback or collect the values only when all inputs complete, * regardless of whether some failed. This lets us avoid calling expensive methods like * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it * lets all futures share the same listener. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
) fun newChain(call: RealCall): RealInterceptorChain = RealInterceptorChain( call = call, interceptors = listOf(), index = 0, exchange = null, request = call.request(), ) fun newRoutePlanner( client: OkHttpClient, address: Address = newAddress(), ): RealRoutePlanner {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY) return proxiesOrNull.toImmutableList() } call.eventListener.proxySelectStart(call, url) proxies = selectProxies() nextProxyIndex = 0 call.eventListener.proxySelectEnd(call, url, proxies) } /** Returns true if there's another proxy to try. */ private fun hasNextProxy(): Boolean = nextProxyIndex < proxies.size
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
.url(server.url("/")) .post(AsyncRequestBody()) .build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertTrue(call.isCanceled()) } } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. * * * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller * indicating that the call was canceled. The interceptor's exception is delivered to the current
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt
.Builder() .status("HTTP/1.1 200 ${"O".repeat(256 * 1024)}K") .body("I'm not even supposed to be here today.") .build(), ) val call = client.newCall(Request(url = server.url("/"))) assertFailsWith<IOException> { call.execute() } } /** Use a header that exceeds the limits on its own. */ @Test fun largeResponseHeader() { server.enqueue( MockResponse
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoParamBhv.java
return batchInsert(list, call, null); } public int[] batchInsert(List<CrawlingInfoParam> list, RequestOptionCall<BulkRequestBuilder> call, RequestOptionCall<IndexRequestBuilder> entityCall) { return doBatchInsert(new BulkList<>(list, call, entityCall), null); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsUserInfoBhv.java
public int[] batchInsert(List<UserInfo> list, RequestOptionCall<BulkRequestBuilder> call) { return batchInsert(list, call, null); } public int[] batchInsert(List<UserInfo> list, RequestOptionCall<BulkRequestBuilder> call, RequestOptionCall<IndexRequestBuilder> entityCall) { return doBatchInsert(new BulkList<>(list, call, entityCall), null); } public int[] batchUpdate(List<UserInfo> list) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.1K bytes - Click Count (0)