- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,106 for Call (0.04 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
} @Override public void callStart(Call call) { printEvent("callStart"); } @Override public void proxySelectStart(Call call, HttpUrl url) { printEvent("proxySelectStart"); } @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); } @Override public void dnsStart(Call call, String domainName) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
if (e != null) { eventListener.requestFailed(call, e) } else { eventListener.requestBodyEnd(call, bytesRead) } } if (responseDone) { if (e != null) { eventListener.responseFailed(call, e) } else { eventListener.responseBodyEnd(call, bytesRead) } } return call.messageDone(this, requestDone, responseDone, e) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/recipes.md
final Call call = client.newCall(request); // Schedule a job to cancel the call in 1 second. executor.schedule(new Runnable() { @Override public void run() { System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f); call.cancel(); System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
.build() val latch = CountDownLatch(1) val exceptionRef = AtomicReference<Throwable>() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) call.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { exceptionRef.set(e) latch.countDown() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
runTest { val call = ClosableCall() supervisorScope { assertFailsWith<CancellationException> { coroutineScope { call.afterCallbackOnResponse = { coroutineContext.job.cancel() } call.executeAsync() } } } assertThat(call.canceled).isTrue()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
var socket: SSLSocket? = null var closed = false override fun connectionAcquired( call: Call, connection: Connection, ) { socket = connection.socket() as SSLSocket } override fun requestHeadersStart(call: Call) { if (closed) { throw IOException("fake socket failure") } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFailureUrlBhv.java
public int[] batchInsert(List<FailureUrl> list, RequestOptionCall<BulkRequestBuilder> call) { return batchInsert(list, call, null); } public int[] batchInsert(List<FailureUrl> list, RequestOptionCall<BulkRequestBuilder> call, RequestOptionCall<IndexRequestBuilder> entityCall) { return doBatchInsert(new BulkList<>(list, call, entityCall), null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedQueryBhv.java
public int[] batchInsert(List<RelatedQuery> list, RequestOptionCall<BulkRequestBuilder> call) { return batchInsert(list, call, null); } public int[] batchInsert(List<RelatedQuery> list, RequestOptionCall<BulkRequestBuilder> call, RequestOptionCall<IndexRequestBuilder> entityCall) { return doBatchInsert(new BulkList<>(list, call, entityCall), null); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9K bytes - Viewed (0) -
cmd/os-instrumented.go
// Stat captures time taken to call os.Stat func Stat(name string) (info os.FileInfo, err error) { defer updateOSMetrics(osMetricStat, name)(err) return os.Stat(name) } // Create captures time taken to call os.Create func Create(name string) (f *os.File, err error) { defer updateOSMetrics(osMetricCreate, name)(err) return os.Create(name) } // Fdatasync captures time taken to call Fdatasync
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0)