- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 771 for responder (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
handshakeCertificates.trustManager, ).hostnameVerifier(nullHostnameVerifier) .build() val request = Request(server.url("/")) val response1: Response = client.newCall(request).execute() val bodySource = response1.body.source() assertThat(bodySource.readUtf8()).isEqualTo("ABC.1") corruptor() return client.newCall(request).execute() } /**Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
docs/features/interceptors.md
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* to limit the retries by the class of errors and number of attempts. To get the number of * attempts to the current point use this function. * * ```java * private int responseCount(Response response) { * int result = 1; * while ((response = response.priorResponse()) != null) { * result++; * } * return result; * } * ``` * * [1]: https://tools.ietf.org/html/rfc2817 */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/features/caching.md
received followed by a cache hit or miss. Critically in the cache hit scenario the server won’t send the response body. The response will have non-null `cacheResponse` and `networkResponse`. The cacheResponse will be used as the top level response only if the response code is HTTP/1.1 304 Not Modified. - CallStart - **CacheConditionalHit** - ConnectionAcquired - ... Standard Events...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.FileEntry; /** * Base class for SMB1 transaction response messages. * This abstract class handles the common functionality for all SMB1 transaction responses, * including parameter and data buffer management, multi-part responses, and enumeration support. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
README.md
import org.codelibs.curl.CurlResponse; try (CurlResponse response = Curl.get("https://example.com") .param("q", "curl4j") .header("Accept", "application/json") .execute()) { System.out.println("Status: " + response.getHttpStatusCode()); System.out.println(response.getContentAsString()); } ``` ### Asynchronous request
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
request() .withPath("/person") .withQueryStringParameter("name", "peter"), ).respond(response().withBody("Peter the person!")) val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute() assertThat(response.body.string()).contains("Peter the person") } } @Test fun testHttpsRequest() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
hostname: String, response: Response, ): List<InetAddress> { if (response.cacheResponse == null && response.protocol !== Protocol.HTTP_2 && response.protocol !== Protocol.QUIC) { Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN) } response.use { if (!response.isSuccessful) { throw IOException("response: " + response.code + " " + response.message)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
} else { System.out.println("Force cache: false"); clientForCall = client; } try (Response response = clientForCall.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(" Network: " + (response.networkResponse() != null)); System.out.println(); } } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
*/ package jcifs.internal.dfs; import java.util.Arrays; import jcifs.Decodable; import jcifs.internal.util.SMBUtil; /** * DFS (Distributed File System) referral response buffer parser. * Decodes server responses to DFS referral requests, extracting information about * available DFS targets, path consumption details, and referral flags. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)