Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getContentResponse (0.34 sec)

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

         *
         * @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();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() {
                @Override
                public org.codelibs.curl.CurlResponse getContentResponse(org.codelibs.fess.dict.DictionaryFile<?> file) {
                    try {
                        // Return a CurlResponse with the file's content
                        return new org.codelibs.curl.CurlResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         * @throws IOException if an I/O error occurs during writing
         */
        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);
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
            dictionaryManager = new DictionaryManager() {
                @Override
                public CurlResponse getContentResponse(DictionaryFile<?> file) {
                    try {
                        // Return a CurlResponse with the file's content
                        return new CurlResponse() {
                            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
            dictionaryManager = new DictionaryManager() {
                @Override
                public CurlResponse getContentResponse(org.codelibs.fess.dict.DictionaryFile<?> file) {
                    try {
                        // Return a CurlResponse with the file's content
                        return new CurlResponse() {
                            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top