Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCurlHelper (0.13 sec)

  1. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                creator.setDictionaryManager(this);
            });
        }
    
        public DictionaryFile<? extends DictionaryItem>[] getDictionaryFiles() {
            try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_configsync/file").param("fields", "path,@timestamp")
                    .param("size", ComponentUtil.getFessConfig().getPageDictionaryMaxFetchSize()).execute()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            if (values[1].startsWith("/")) {
                path = values[1];
            } else {
                path = "/" + values[1];
            }
    
            final CurlHelper curlHelper = ComponentUtil.getCurlHelper();
            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
                return curlHelper.post(path);
            case "PUT":
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

            try {
                final String source = FileUtil.readUTF8(filePath);
                try (CurlResponse response =
                        ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(source).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        logger.info("Register {} to {}", path, indexName);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top