- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,367 for respond (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
*/ @Test void testToString() { NetShareEnumResponse response = new NetShareEnumResponse(); response.status = 0; response.numEntries = 2; byte[] buffer = { 0x00, 0x00, 0x12, 0x34, 0x02, 0x00, 0x05, 0x00 }; response.readParametersWireFormat(buffer, 0, buffer.length); String resultString = response.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
override fun intercept(chain: Interceptor.Chain): Response { val response = chain.proceed(chain.request()) val code = response.code if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response val method = response.request.method if (method == "GET" || method == "HEAD") return response val location = response.header("Location") ?: return response return response .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
} @Test fun testNoUncompress() { val response = response("https://httpbin.org/brotli", "XXXX".encodeUtf8()) val same = brotliInterceptor.decompress(response) val responseString = same.body.string() assertThat(responseString).isEqualTo("XXXX") } @Test fun testFailsUncompress() { val response = response("https://httpbin.org/brotli", "bb919aaa06e8".decodeHex()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 22 08:12:58 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import jakarta.annotation.Resource; /** * Admin action for Duplicate Host management. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
assertEquals(1000, totalParamField.get(response)); Field totalDataField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalDataCount"); totalDataField.setAccessible(true); assertEquals(2000, totalDataField.get(response)); Field paramCountField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("parameterCount");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* libraries may customize this behavior.) * * A good way to signal a failure is with a synthetic HTTP response: * * ```kotlin * @Throws(IOException::class) * override fun intercept(chain: Interceptor.Chain): Response { * if (myConfig.isInvalid()) { * return Response.Builder() * .request(chain.request()) * .protocol(Protocol.HTTP_1_1) * .code(400)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
// ================ protected Response checkGetMethod(final Map<String, Object> body, final String path) { Response response = checkMethodBase(body).get(getApiPath() + "/" + path); // logger.debug(response.asString()); return response; } protected Response checkPostMethod(final Map<String, Object> body, final String path) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
labelBody.put("included_paths", ".*tools.*"); Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static String createCrawlLabel() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.writeSetupWireFormat(null, 0)); assertEquals(0, response.writeParametersWireFormat(null, 0)); assertEquals(0, response.writeDataWireFormat(null, 0)); // Read methods return 0 without accessing null buffer assertEquals(0, response.readSetupWireFormat(null, 0, 0)); assertEquals(0, response.readParametersWireFormat(null, 0, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
docs/features/interceptors.md
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0)