- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getCurlHelper (0.13 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
final ZipEntry entry = new ZipEntry(id + "/es_" + v1 + "_" + v2 + ".json"); try { zos.putNextEntry(entry); try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_" + v1 + "/" + v2).execute()) { CopyUtil.copy(response.getContentAsStream(), zos); } } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
return; } final Method httpMethod = Method.valueOf(request.getMethod().toUpperCase(Locale.ROOT)); final CurlRequest curlRequest = ComponentUtil.getCurlHelper().request(httpMethod, path); final String contentType = request.getHeader("Content-Type"); if (StringUtil.isNotEmpty(contentType)) { curlRequest.header("Content-Type", contentType);
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/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
final ObjectMapper mapper = new ObjectMapper(); final AtomicBoolean resetJobs = new AtomicBoolean(false); try (CurlResponse response = ComponentUtil.getCurlHelper().post("/_bulk").onConnect((req, con) -> { con.setDoOutput(true); try (final BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
return getComponent(ACCESS_TOKEN_HELPER); } public static QueryStringBuilder getQueryStringBuilder() { return getComponent(QUERY_STRING_BUILDER); } public static CurlHelper getCurlHelper() { return getComponent(CURL_HELPER); } public static LanguageHelper getLanguageHelper() { return getComponent(LANGUAGE_HELPER); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:35:51 UTC 2024 - 20.2K bytes - Viewed (0)