- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 951 for call1 (0.01 sec)
-
samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java
.url("http://publicobject.com/helloworld.txt") .build(); client.newCall(request).enqueue(new Callback() { @Override public void onFailure(Call call, IOException e) { e.printStackTrace(); } @Override public void onResponse(Call call, Response response) throws IOException { try (ResponseBody responseBody = response.body()) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
override val call: Call, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call } data class CallFailed( override val timestampNs: Long, override val call: Call, val ioe: IOException, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is CallStart && call == event.call } data class Canceled(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 13:40:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
fail("Should not throw exception when accessTimeout is null: " + e.getMessage()); } } public void test_initialization_idempotency() { // Test that multiple init calls are safe FileSystemClient client = new FileSystemClient(); // First initialization if (client.isInit.compareAndSet(false, true)) { client.init(); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
lenient().when(servletConfig.getServletContext()).thenReturn(servletContext); networkExplorer = createMockedNetworkExplorer(true, "jCIFS"); // Override init to capture parameter calls networkExplorer = new NetworkExplorer() { @Override public void init(ServletConfig config) throws ServletException { // Read the parameters to trigger verification
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
.addQueryParameter("redirect_uri", redirectUrl.toString()) .build(); Request request = new Request.Builder() .url(url) .build(); Call call = httpClient.newCall(request); try (Response response = call.execute()) { JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class); return jsonAdapter.fromJson(response.body().source()); } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
coroutineScope { call.afterCallbackOnResponse = { coroutineContext.job.cancel() } call.executeAsync() } } } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
/** * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)}, * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}. */ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
bb.get(encodedPath); assertArrayEquals(pathBytes, encodedPath); } @Test @DisplayName("Should encode consistently on multiple calls") void testEncodeIdempotency() { String path = "\\\\server\\share"; buffer = new DfsReferralRequestBuffer(path, 3); byte[] dst1 = new byte[buffer.size()];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* iterable supports it. Note that it is <i>not</i> possible to delete the last skipped element by * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states * that a call to {@code remove()} before a call to {@code next()} will throw an {@link * IllegalStateException}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} * * @since 3.0 */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0)