- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for CurlResponse (0.05 sec)
-
src/test/java/org/codelibs/curl/CurlResponseTest.java
import org.junit.Test; /** * Test class for CurlResponse. * Tests response handling, header operations, and content access. */ public class CurlResponseTest { @Test public void testConstructor() { CurlResponse response = new CurlResponse(); assertNotNull(response); } @Test public void testHttpStatusCode() { CurlResponse response = new CurlResponse();
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/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/curl/CurlRequest.java
*/ public static class RequestProcessor implements Consumer<HttpURLConnection> { /** * The CurlResponse object to store the response. */ protected CurlResponse response = new CurlResponse(); private final String encoding; private int threshold; /**
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
@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() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
* Reloads the dictionary file. * * @param updater The updater. */ 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); } }
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
* @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); } }
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/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"); if (StringUtil.isBlank(responseContentType)) {
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/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); } } /**
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
* @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); } }
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/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); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K bytes - Viewed (0)