- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,344 for response (0.08 sec)
-
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; }); // When: Create iteratorRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion) assertEquals(Protocol.HTTP_2, response.protocol) assertThat(response.exchangeAccessor!!.connectionAccessor.socket()) .isInstanceOf<SSLSocketImpl>() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** * This class represents the base response structure for API results. * It encapsulates the API response and provides methods to build different types of API responses. */ public class ApiResult { /** * The API response object. */ protected ApiResponse response = null; /** * Constructs an ApiResult with the specified ApiResponse. * @param response The API response object. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
assertEquals(b, response.b); assertEquals(0, response.off); } @Test public void testSetParam() { byte[] b = new byte[0]; response.setParam(b, 0); assertEquals(b, response.b); assertEquals(0, response.off); } @Test public void testWriteParameterWordsWireFormat() { assertEquals(0, response.writeParameterWordsWireFormat(new byte[0], 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt
return result } public override fun peek(): MockResponse = responseQueue.peek() ?: failFastResponse ?: super.peek() public open fun enqueue(response: MockResponse) { responseQueue.add(response) } public open fun clear() { responseQueue.clear() } public override fun close() { responseQueue.add(DEAD_LETTER) }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 14 16:09:26 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
} } constructor(response: Response) { this.url = response.request.url this.varyHeaders = response.varyHeaders() this.requestMethod = response.request.method this.protocol = response.protocol this.code = response.code this.message = response.message this.responseHeaders = response.headers this.handshake = response.handshakeRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
) /** * Called when the HTTP response was successfully returned by the remote server. The callback may * proceed to read the response body with [Response.body]. The response is still live until its * response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
events.add(Closed) drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?, ) { get().log("[ES] onFailure", Platform.INFO, t) events.add(Failure(t, response, t?.message ?: response?.body?.string())) drainCancelQueue(eventSource) } private fun drainCancelQueue(eventSource: EventSource) { if (cancel) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
/** * Constructs a SMB2 query info response with the specified configuration and expected information types * * @param config * the configuration to use for this response * @param expectInfoType * the expected information type in the response * @param expectInfoClass * the expected information class in the response */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
OkHttpClient client1 = client.newBuilder() .readTimeout(500, TimeUnit.MILLISECONDS) .build(); try (Response response = client1.newCall(request).execute()) { System.out.println("Response 1 succeeded: " + response); } catch (IOException e) { System.out.println("Response 1 failed: " + e); } // Copy to customize OkHttp for this request. OkHttpClient client2 = client.newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0)