- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 1,606 for response (0.07 sec)
-
src/test/java/org/codelibs/fess/it/admin/JobLogTests.java
} @Override protected void testRead() { final Map<String, Object> searchBody = new HashMap<>(); final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString(); assertEquals(new Integer(0), JsonPath.from(response).get("response.status")); } @Override protected void tearDown() { // do nothing } @Test void crudTest() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
response = (NameServicePacket)responseTable.get( new Integer( nameTrnId )); if( response == null || response.received ) { continue; } synchronized( response ) { response.readWireFormat( rcv_buf, 0 ); response.received = true; if( log.level > 3 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
try (CloseableHttpResponse response = httpClient.execute(httpPost)) { if (response.getStatusLine().getStatusCode() != Constants.OK_STATUS_CODE) { logger.error("Failed to access {}, code: {}.", url, response.getStatusLine().getStatusCode()); return null; } data.setContent(EntityUtils.toString(response.getEntity(), Charsets.UTF_8));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
} } override fun onResponse( call: Call, response: Response, ) { processResponse(response) } fun processResponse(response: Response) { response.use { if (!response.isSuccessful) { listener.onFailure(this, null, response) return } val body = response.body if (!body.isEventStream()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
response.setContentType("application/vnd.ms-fontobject"); } else if (lowerPath.endsWith(".ico")) { response.setContentType("image/vnd.microsoft.icon"); } else if (lowerPath.endsWith(".js")) { response.setContentType("text/javascript"); } else if (lowerPath.endsWith(".json")) { response.setContentType("application/json");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 15 08:29:24 UTC 2024 - 11.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS); assertEquals(0, response.getNum()); } @Test public void test_getResponseAfterResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt
body = postBody.toRequestBody(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() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
def test_get_no_item(client: TestClient): response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"} def test_get(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
# Hintergrundtasks Sie können Hintergrundtasks (Hintergrund-Aufgaben) definieren, die *nach* der Rückgabe einer Response ausgeführt werden sollen. Das ist nützlich für Vorgänge, die nach einem Request ausgeführt werden müssen, bei denen der Client jedoch nicht unbedingt auf den Abschluss des Vorgangs warten muss, bevor er die Response erhält. Hierzu zählen beispielsweise: * E-Mail-Benachrichtigungen, die nach dem Ausführen einer Aktion gesendet werden:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0)