- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,344 for response (0.49 sec)
-
src/main/java/org/codelibs/fess/entity/PingResponse.java
/** * Creates a ping response from cluster health response. * * @param response the cluster health response */ public PingResponse(final ClusterHealthResponse response) { status = response.getStatus() == ClusterHealthStatus.RED ? 1 : 0; clusterName = response.getClusterName(); clusterStatus = response.getStatus().toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.4K bytes - Viewed (2) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
(result as Sink).gzip().buffer().use { it.write(this@gzipCompress) } return result.readByteString() } private fun response( url: String, body: ByteString, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .body(body.toResponseBody("text/plain".toMediaType())) .code(200) .message("OK")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (1) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code) assertEquals("h3", response.negotiatedProtocol) assertTrue(response.content.contains("Disallow")) } catch (ee: ExecutionException) { throw ee.cause?.cause ?: ee.cause!! } } data class Response( val code: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
} /** * Checks if this response has a response body. * * @return true if the response has a body (either as bytes or file), false otherwise */ public boolean hasResponseBody() { return responseBodyBytes != null || responseBodyFile != null; } /** * Gets the response body as an InputStream. * If the response body is stored as bytes, returns a ByteArrayInputStream.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().securityMode = 1; response.getServerData().encryptedPasswords = true; response.getServerData().smaxMpxCount = 50; response.getServerData().maxNumberVcs = 1; response.getServerData().maxBufferSize = 16384; response.getServerData().maxRawSize = 4096; response.getServerData().sessKey = 0x12345678; response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
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-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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0)