- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 771 for responder (0.13 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
val response1 = client.newCall(request1).execute() assertThat(response1.code).isEqualTo(401) assertThat(response1.body.string()) .isEqualTo("{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}") val request2 = request1.newBuilder().header("Authorization", "XYZ").build() val response2 = client.newCall(request2).execute()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// When & Then assertEquals(0, response.writeBytesWireFormat(dst, 0)); assertEquals(0, response.writeBytesWireFormat(dst, 25)); assertEquals(0, response.writeBytesWireFormat(dst, 50)); assertEquals(0, response.writeBytesWireFormat(dst, 75)); assertEquals(0, response.writeBytesWireFormat(dst, 99)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
@Synchronized override fun onResponse( call: Call, response: Response, ) { val body = response.body.string() responses.add(RecordedResponse(call.request(), response, null, body, null)) (this as Object).notifyAll() } /** * Returns the recorded response triggered by `request`. Throws if the response isn't * enqueued before the timeout. */ @Synchronized
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
* Sets the fields that are allowed in API responses. * * @param fields array of field names that are allowed in API responses */ public void setApiResponseFields(final String[] fields) { apiResponseFieldSet = new HashSet<>(); Collections.addAll(apiResponseFieldSet, fields); } /** * Checks if the specified field is allowed in API responses. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
assertEquals("DOMAIN", result.getUserDomain()); assertEquals("user", result.getUsername()); // Cannot verify challenge and responses as they are not exposed in the API // Verify that the response is not modified for a successful authentication verify(mockResponse, never()).setHeader(anyString(), anyString()); verify(mockResponse, never()).setStatus(any(int.class));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* responses coming back in. Typically interceptors add, remove, or transform headers on the request * or response. * * Implementations of this interface throw [IOException] to signal connectivity failures. This * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions * when responses are of an unexpected type or cannot be decoded. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
* It processes the response data based on the HTTP status code and configured transformer. * </p> * * <p> * It handles successful responses by transforming the data using a {@link Transformer} * and storing the result. It also handles "Not Modified" responses by creating an empty * result and storing it. Unsuccessful responses are logged for debugging purposes. * </p> * * <p>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization" else -> "Authorization" } return response.request .newBuilder()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
/** Don't accept an unvalidated cached response. */ fun noCache() = commonNoCache() /** Don't store the server's response in any cache. */ fun noStore() = commonNoStore() /** * Only accept the response if it is in the cache. If the response isn't cached, a `504 * Unsatisfiable Request` response will be returned. */ fun onlyIfCached() = commonOnlyIfCached()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0)