- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getContentAsStream (0.08 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to access the content")); // The cause should be another CurlException from getContentAsStream() assertTrue(e.getCause() instanceof CurlException); CurlException innerException = (CurlException) e.getCause();
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
try { zos.putNextEntry(entry); try (CurlResponse response = ComponentUtil.getCurlHelper().get("/_" + v1 + "/" + v2).execute()) { CopyUtil.copy(response.getContentAsStream(), zos); } } catch (final Exception e) { logger.warn("Failed to access /_{}/{}", v1, v2, e); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18K bytes - Viewed (0) -
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); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
} } }).execute()) { try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) { response.setStatus(curlResponse.getHttpStatusCode()); writeHeaders(response); final String responseContentType = curlResponse.getHeaderValue("Content-Type");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
*/ protected void reload(final KuromojiUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } } /** * Reloads the dictionary file. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
*/ 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); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this); final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) { out.write(inputStream); } } /** * Gets the type identifier for this dictionary file. * * @return the dictionary type */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
*/ 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); } } /** * Reloads the stopwords dictionary from an input stream.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
try { // Return a CurlResponse with the file's content return new CurlResponse() { @Override public InputStream getContentAsStream() throws IOException { // Use the actual file path from the DictionaryFile return new FileInputStream(new File(file.getPath())); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
*/ protected void reload(final SynonymUpdater updater) { try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) { reload(updater, curlResponse.getContentAsStream()); } catch (final IOException e) { throw new DictionaryException("Failed to parse " + path, e); } } /** * Reloads the synonym dictionary from an input stream.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.5K bytes - Viewed (0)