- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,881 for RESPONSE (0.06 seconds)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() { val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
RdmaNegotiateResponse response = rdmaConnection.negotiate(request); if (!response.isSuccess()) { throw new IOException("RDMA negotiation failed: " + response.getStatus()); } // Update connection parameters based on negotiation credits.setCreditsGranted(response.getCreditsGranted());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
Request( url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java
import org.codelibs.fess.suggest.entity.SuggestItem; import org.codelibs.fess.suggest.request.Response; /** * Represents a response for a suggest request. * This class holds the details of the response including the index, time taken, words, total count, and suggested items. */ public class SuggestResponse implements Response { /** The index name. */ protected final String index;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt
body = file.asRequestBody(MEDIA_TYPE_MARKDOWN), ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
@Test @DisplayName("Should create appropriate response") void testCreateResponse() { Smb2LockResponse response = request.createResponse(mockContext, request); assertNotNull(response); assertTrue(response instanceof Smb2LockResponse); } @Test @DisplayName("Should create response with same configuration")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
} throw new CrawlingAccessException("Invalid path: " + path); } /** * Retrieves response data for the specified URI. * @param uri the URI to retrieve data for * @param includeContent whether to include the actual content in the response * @return the response data containing metadata and optionally content * @throws CrawlingAccessException if an error occurs while accessing the resourceCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
// Decode WitnessRegister response response = new WitnessRegisterResponse(); response.setRegistrationId(buffer.dec_ndr_string()); response.setReturnCode(buffer.dec_ndr_long()); } public WitnessRegisterResponse getResponse() { return response; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
Request .Builder() .url("https://publicobject.com/robots.txt") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") for (certificate in response.handshake!!.peerCertificates) { println(CertificatePinner.pin(certificate)) } } } } fun main() { CertificatePinning().run()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
/** * Creates a Type-2 message in response to the given Type-1 message * using default values from the current environment. * * @param type1 The Type-1 message which this represents a response to. */ public Type2Message(final Type1Message type1) { this(type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0)