- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 1,967 for respond (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
/** * Describes the request that the server intends to push a response for. * * @param streamId server-initiated stream ID: an even number. * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, * and `:path`. */ fun onRequest( streamId: Int, requestHeaders: List<Header>, ): Boolean /** * The response headers corresponding to a pushed request. When [last] is true, there are
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
/** * SMB1 Read AndX Response message. * * This response contains the data that was read from the file * along with information about the read operation. */ public class SmbComReadAndXResponse extends AndXServerMessageBlock { private byte[] data; private int offset, dataCompactionMode, dataLength, dataOffset; /** * Constructs a Read AndX response. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@Test @DisplayName("Should create appropriate response") void testCreateResponse() { Smb2ReadResponse response = request.createResponse(mockContext, request); assertNotNull(response); assertTrue(response instanceof Smb2ReadResponse); } @Test @DisplayName("Should create response with same configuration and buffer")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
*/ public synchronized void init() { try { final IndicesExistsResponse response = client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout()); if (!response.isExists()) { createAnalyzerSettings(loadIndexSettings(), loadIndexMapping()); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 24.4K bytes - Click Count (0) -
docs/pt/docs/advanced/json-base64-bytes.md
## Base64 vs Arquivos { #base64-vs-files } Primeiro, considere se você pode usar [Arquivos na request](../tutorial/request-files.md) para fazer upload de dados binários e [Response personalizada - FileResponse](./custom-response.md#fileresponse--fileresponse-) para enviar dados binários, em vez de codificá-los em JSON. JSON só pode conter strings codificadas em UTF-8, portanto não pode conter bytes puros.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 2.6K 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/main/java/org/codelibs/fess/score/ScoreBooster.java
*/ protected void flush() { if (bulkRequestBuilder != null) { final BulkResponse response = bulkRequestBuilder.execute().actionGet(requestTimeout); if (response.hasFailures()) { logger.warn("Failed to update scores: {}", response.buildFailureMessage()); } bulkRequestBuilder = null; } } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 6.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt
val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()) if (response.statusCode() > 399) { throw RuntimeException("Failed to fetch versions from Gradle services: ${response.statusCode()} ${response.body()}") } val versions = Gson().fromJson(response.body(), Array<GradleServicesVersion>::class.java)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
return testAuthenticator; } }; ActionResponse response = ssoManager.getResponse(SsoResponseType.METADATA); assertNotNull(response); assertEquals(expectedResponse, response); } @Test public void test_getResponse_withNullResponseType() { currentSsoType = "test";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.5K bytes - Click Count (0) -
docs_src/app_testing/tutorial004_py310.py
# Inside the "with TestClient" block, the lifespan starts and items added assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}} response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"name": "Fighters"} # After the requests is done, the items are still there assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0)