Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for CurlResponse (0.1 seconds)

  1. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.mail.CardView;
    import org.dbflute.mail.send.supplement.SMailPostingDiscloser;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    import com.fasterxml.jackson.core.type.TypeReference;
    import com.fasterxml.jackson.databind.ObjectMapper;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         * This method retrieves the raw file content from ConfigSync storage.
         *
         * @param dictFile the dictionary file to retrieve content for
         * @return a CurlResponse containing the file content
         */
        public CurlResponse getContentResponse(final DictionaryFile<? extends DictionaryItem> dictFile) {
            return ComponentUtil.getCurlHelper().get("/_configsync/file").param("path", dictFile.getPath()).execute();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        //                                                                     =============
    
        private CurlResponse createMockResponse(final int statusCode, final String body) {
            final CurlResponse response = new CurlResponse();
            response.setHttpStatusCode(statusCode);
            response.setEncoding("UTF-8");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            dictionaryManager = new DictionaryManager() {
                @Override
                public CurlResponse getContentResponse(DictionaryFile<?> file) {
                    try {
                        // Return a CurlResponse with the file's content
                        return new CurlResponse() {
                            @Override
                            public InputStream getContentAsStream() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         */
        protected void reload(final MappingUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

         * @param updater the updater to use for processing items
         */
        protected void reload(final ProtwordsUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StopwordsUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         */
        public void writeOut(final WrittenStreamOut out) throws IOException {
            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
                    final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) {
                out.write(inputStream);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StemmerOverrideUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top