- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 81 for getlist (0.06 seconds)
-
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
List<Map<String, Object>> page1 = JsonPath.from(response).getList("response.logs"); logger.info("Page 1: {}", page1); // Get second page searchBody.put("page", 2); response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString(); List<Map<String, Object>> page2 = JsonPath.from(response).getList("response.logs"); logger.info("Page 2: {}", page2);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
String response = checkGetMethod(searchBody, "").asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString(); JsonPath jsonPath = JsonPath.from(response); assertEquals(0, jsonPath.getInt("response.status")); List<Map<String, Object>> logs = jsonPath.getList("response.logs"); assertTrue(logs.size() >= 1); // Test with pagination searchBody.put("size", 10); searchBody.put("page", 1);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
JsonPath jsonPath = JsonPath.from(response); int recordCount = jsonPath.getInt("record_count"); assertTrue(recordCount >= 0, "Record count should be >= 0"); if (recordCount > 0) { List<Map<String, Object>> labels = jsonPath.getList("data"); assertTrue(labels != null, "Data should not be null when labels exist"); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_py310.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 976 bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1015 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java
JsonPath jsonPath = JsonPath.from(searchResponse); String queryId = jsonPath.getString("query_id"); List<Map<String, Object>> docs = jsonPath.getList("data"); if (docs != null && !docs.isEmpty()) { String docId = docs.get(0).get("doc_id").toString(); // Set favorite Map<String, String> params = new HashMap<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); // data is an array of strings assertTrue(jsonPath.getList("data") != null); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0)